diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-01-28 01:13:59 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-02-24 20:01:29 +0300 |
commit | 98418c810756f5990f7838b3e56961701a44cae4 (patch) | |
tree | 3c59e00b656e437c5d58bce70b5b7111c56c5a0b /gnu | |
parent | f3dc225f7b71ab8c2ff51a31e7a71b9a1bfcff7d (diff) | |
download | patches-98418c810756f5990f7838b3e56961701a44cae4.tar patches-98418c810756f5990f7838b3e56961701a44cae4.tar.gz |
gnu: Add perl-pod-constants.
* gnu/packages/perl.scm (perl-pod-constants): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index f4d971ad14..e27f701cd4 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8868,3 +8868,29 @@ A summary of features for comparison to other file finding modules: As a convenience, the PIR module is an empty subclass of this one that is less arduous to type for one-liners.") (license asl2.0))) + +(define-public perl-pod-constants + (package + (name "perl-pod-constants") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MG/MGV/Pod-Constants-" + version ".tar.gz")) + (sha256 + (base32 + "1njgr2zly9nrwvfrjhgk9dqq48as1pmbb2rs4bh3irvla75v7azg")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Pod-Constants/") + (synopsis "Include constants from POD") + (description "This module allows you to specify those constants that +should be documented in your POD, and pull them out a run time in a fairly +arbitrary fashion. + +Pod::Constants uses Pod::Parser to do the parsing of the source file. It has +to open the source file it is called from, and does so directly either by +lookup in %INC or by assuming it is $0 if the caller is @code{main} +(or it can't find %INC{caller()}).") + (license artistic2.0))) |