diff options
author | Marius Bakke <mbakke@fastmail.com> | 2016-12-09 21:56:25 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-03-02 18:39:16 +0100 |
commit | 68e31f81c1b14523275f48ba7e353ebf026268ea (patch) | |
tree | f63c300635db820d40fc5e0dfe82b7e81624fb5c /gnu/packages/perl.scm | |
parent | 6578c56728323a498c5c7cd85b5352a4b74dd4a5 (diff) | |
download | patches-68e31f81c1b14523275f48ba7e353ebf026268ea.tar patches-68e31f81c1b14523275f48ba7e353ebf026268ea.tar.gz |
gnu: Add perl-any-moose.
* gnu/packages/perl.scm (perl-any-moose): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index cbd92a9701..05ad95b5cc 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -208,6 +208,31 @@ explicitly alias the class to another name or, if you prefer, you can do so implicitly.") (license (package-license perl)))) +(define-public perl-any-moose + (package + (name "perl-any-moose") + (version "0.27") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "Any-Moose-" version ".tar.gz")) + (sha256 + (base32 + "0dc55mpayrixwx8dwql0vj0jalg4rlb3k64rprc84bl0z8vkx9m8")))) + (build-system perl-build-system) + (native-inputs + `(("perl-mouse" ,perl-mouse) + ("perl-moose" ,perl-moose))) + (home-page "http://search.cpan.org/dist/Any-Moose") + (synopsis "Transparently use Moose or Mouse modules") + (description + "This module facilitates using @code{Moose} or @code{Mouse} modules +without changing the code. By default, Mouse will be provided to libraries, +unless Moose is already loaded, or explicitly requested by the end-user. End +users can force the decision of which backend to use by setting the environment +variable ANY_MOOSE to be Moose or Mouse.") + (license (package-license perl)))) + (define-public perl-appconfig (package (name "perl-appconfig") |