diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-01-28 21:10:44 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-02-24 20:01:31 +0300 |
commit | 222b50018de3ceb794b0abf7ef2c2466492cd81d (patch) | |
tree | 5f497e41253635ce91a20becf52760ab21f12634 /gnu/packages/perl.scm | |
parent | 24eab3c093815ec64054219be7a29887c6a95745 (diff) | |
download | guix-222b50018de3ceb794b0abf7ef2c2466492cd81d.tar guix-222b50018de3ceb794b0abf7ef2c2466492cd81d.tar.gz |
gnu: Add perl-universal-require.
* gnu/packages/perl.scm (perl-universal-require): New public variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 21 |
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") |