gnu: Add perl-universal-require.

* gnu/packages/perl.scm (perl-universal-require): New public variable.
This commit is contained in:
Oleg Pykhalov 2018-01-28 21:10:44 +03:00
parent 24eab3c093
commit 222b50018d
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 21 additions and 0 deletions

View File

@ -8539,6 +8539,27 @@ UNIVERSAL::can() as a function, which it is not.")
UNIVERSAL::isa as a function.") UNIVERSAL::isa as a function.")
(license (package-license perl)))) (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 (define-public perl-variable-magic
(package (package
(name "perl-variable-magic") (name "perl-variable-magic")