aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 12:23:04 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit70de16eaf41a0b4d402ca89678e90f326190fc04 (patch)
tree0699887253591f9fbe0c5a4faa71eb287960750d /gnu/packages/perl.scm
parent26b8de19630af0873495c67f63120d9d044a6cdc (diff)
downloadguix-70de16eaf41a0b4d402ca89678e90f326190fc04.tar
guix-70de16eaf41a0b4d402ca89678e90f326190fc04.tar.gz
gnu: Add MooX-Types-MooseLike.
* gnu/packages/perl.scm (perl-moox-types-mooselike): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c393ec792a..9090046ac2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2845,6 +2845,32 @@ prevent name clashes between packages.")
constraint with coercion to load the class.")
(license (package-license perl))))
+(define-public perl-moox-types-mooselike
+ (package
+ (name "perl-moox-types-mooselike")
+ (version "0.28")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MA/MATEU/"
+ "MooX-Types-MooseLike-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15af2xmpari4vwjwxn1m9yzjfffkr2aiisqqfij31gxcdk15fpk3"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-moo" ,perl-moo)
+ ("perl-test-fatal" ,perl-test-fatal)))
+ (propagated-inputs
+ `(("perl-module-runtime" ,perl-module-runtime)
+ ("perl-strictures" ,perl-strictures)))
+ (home-page "http://search.cpan.org/dist/MooX-Types-MooseLike")
+ (synopsis "Moosish types and type builder")
+ (description "MooX::Types::MooseLike provides a possibility to build your
+own set of Moose-like types. These custom types can then be used to describe
+fields in Moo-based classes.")
+ (license (package-license perl))))
+
(define-public perl-mro-compat
(package
(name "perl-mro-compat")