gnu: Add MooseX-Types.

* gnu/packages/perl.scm (perl-moosex-types): New variable.
This commit is contained in:
Eric Bavier 2015-03-12 12:30:13 -05:00
parent 40b2ea4c2c
commit ffb2d0b42b

View file

@ -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")