From ffb2d0b42b14035a0ed403d42878fc38a1e2e7be Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 12:30:13 -0500 Subject: [PATCH] gnu: Add MooseX-Types. * gnu/packages/perl.scm (perl-moosex-types): New variable. --- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 2909029e6c..22c83e8993 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1623,6 +1623,33 @@ (define-public perl-moosex-role-withoverloading where plain Moose::Roles would lose the overloading.") (license (package-license perl)))) +(define-public perl-moosex-types + (package + (name "perl-moosex-types") + (version "0.45") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "MooseX-Types-" version ".tar.gz")) + (sha256 + (base32 + "1iq90s1f0xbmr194q0mhnp9wxqxwwilkbdml040ibqbqvfiz87yh")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-requires" ,perl-test-requires))) + (propagated-inputs + `(("perl-carp-clan" ,perl-carp-clan) + ("perl-moose" ,perl-moose) + ("perl-namespace-autoclean" ,perl-namespace-autoclean))) + (home-page "http://search.cpan.org/dist/MooseX-Types") + (synopsis "Organise your Moose types in libraries") + (description "This package lets you declare types using short names, but +behind the scenes it namespaces all your type declarations, effectively +prevent name clashes between packages.") + (license (package-license perl)))) + (define-public perl-mro-compat (package (name "perl-mro-compat")