aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 12:30:13 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commitffb2d0b42b14035a0ed403d42878fc38a1e2e7be (patch)
tree12dbd1b39e6c9246277af6675b8101e83806e5b9 /gnu
parent40b2ea4c2cd506ba9f41c0d5f0c01523de95e261 (diff)
downloadguix-ffb2d0b42b14035a0ed403d42878fc38a1e2e7be.tar.gz
guix-ffb2d0b42b14035a0ed403d42878fc38a1e2e7be.zip
gnu: Add MooseX-Types.
* gnu/packages/perl.scm (perl-moosex-types): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm27
1 files changed, 27 insertions, 0 deletions
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 @@ methods to be composed into the classes/roles/instances it's compiled to,
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")