aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 11:34:11 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit7c68c033f312a13c65531f26eef09252d1e19524 (patch)
tree629f51e4239c056932e608d0ab19a232de4ad6cb /gnu/packages/perl.scm
parent417e11bfaa7b6fb3b2b8584ed9f03f98e343a50c (diff)
downloadguix-7c68c033f312a13c65531f26eef09252d1e19524.tar
guix-7c68c033f312a13c65531f26eef09252d1e19524.tar.gz
gnu: Add Import-Into.
* gnu/packages/perl.scm (perl-import-into): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 78d6bc93e1..5cb595cbe1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1491,6 +1491,31 @@ merged.")
that may contain multiple values per key, inspired by MultiDict of WebOb.")
(license (package-license perl))))
+(define-public perl-import-into
+ (package
+ (name "perl-import-into")
+ (version "1.002004")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "Import-Into-" version ".tar.gz"))
+ (sha256
+ (base32
+ "110hifk3cj14lxgjq2vaa2qfja21gll4lpn8vbimy0gzqadjbjyy"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-module-runtime" ,perl-module-runtime)))
+ (home-page "http://search.cpan.org/dist/Import-Into")
+ (synopsis "Import packages into other packages")
+ (description "Writing exporters is a pain. Some use Exporter, some use
+Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare ... and
+some things are pragmas. Exporting on someone else's behalf is harder. The
+exporters don't provide a consistent API for this, and pragmas need to have
+their import method called directly, since they effect the current unit of
+compilation. Import::Into provides global methods to make this painless.")
+ (license (package-license perl))))
+
(define-public perl-inc-latest
(package
(name "perl-inc-latest")