aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-01-28 21:10:44 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-02-24 20:01:31 +0300
commit222b50018de3ceb794b0abf7ef2c2466492cd81d (patch)
tree5f497e41253635ce91a20becf52760ab21f12634
parent24eab3c093815ec64054219be7a29887c6a95745 (diff)
downloadpatches-222b50018de3ceb794b0abf7ef2c2466492cd81d.tar
patches-222b50018de3ceb794b0abf7ef2c2466492cd81d.tar.gz
gnu: Add perl-universal-require.
* gnu/packages/perl.scm (perl-universal-require): New public variable.
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1f87c8b5b5..983905bf54 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8539,6 +8539,27 @@ UNIVERSAL::can() as a function, which it is not.")
UNIVERSAL::isa as a function.")
(license (package-license perl))))
+(define-public perl-universal-require
+ (package
+ (name "perl-universal-require")
+ (version "0.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/N/NE/NEILB/UNIVERSAL-require-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1v9qdg80ng6dzyzs7cn8sb6mn8ym042i32lcnpd478b7g6l3d9xj"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/UNIVERSAL-require/")
+ (synopsis "Require modules from a variable")
+ (description "This module lets you require other modules where the module
+name is in a variable, something you can't do with the @code{require}
+built-in.")
+ (license (package-license perl))))
+
(define-public perl-variable-magic
(package
(name "perl-variable-magic")