aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-07-27 17:43:08 -0400
committerLeo Famulari <leo@famulari.name>2017-07-30 20:10:39 -0400
commitdf4fc5217fb6d1f2bd18e20f237393f08c6e9e4a (patch)
treefc7c9b39d14829ab732843791dc6a9306416224b /gnu/packages/perl.scm
parent13d73c42f9c86f59525523112e3726c75faf4261 (diff)
downloadguix-df4fc5217fb6d1f2bd18e20f237393f08c6e9e4a.tar
guix-df4fc5217fb6d1f2bd18e20f237393f08c6e9e4a.tar.gz
gnu: Add perl-importer.
* gnu/packages/perl.scm (perl-importer): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4b038a4837..d24eec3260 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3446,6 +3446,29 @@ merged.")
that may contain multiple values per key, inspired by MultiDict of WebOb.")
(license (package-license perl))))
+(define-public perl-importer
+ (package
+ (name "perl-importer")
+ (version "0.024")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Importer-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0mx50xds7iphxykbr9b0w2qki92l3gpagsdchm4ncsrnxc67c68x"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Importer/")
+ (synopsis "Alternative but compatible interface to modules that export symbols")
+ (description "This module acts as a layer between Exporter and modules which
+consume exports. It is feature-compatible with Exporter, plus some much needed
+extras. You can use this to import symbols from any exporter that follows
+Exporters specification. The exporter modules themselves do not need to use or
+inherit from the Exporter module, they just need to set @EXPORT and/or other
+variables.")
+ (license (package-license perl))))
+
(define-public perl-import-into
(package
(name "perl-import-into")