diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-20 13:11:05 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-20 14:22:36 -0500 |
commit | 9f82ae8920c468b189225f1cb246c8535bce3792 (patch) | |
tree | 6ff7ce16e8c3f47550002cc0277551d2c12b1d8b /gnu/packages/perl.scm | |
parent | b6fb9f2c2715c29b14dd52e25d436464267cfbd4 (diff) | |
download | guix-9f82ae8920c468b189225f1cb246c8535bce3792.tar.gz |
gnu: Add MooseX-Params-Validate.
* gnu/packages/perl.scm (perl-moosex-params-validate): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 28b064560f..ec6e64e9ab 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2203,6 +2203,33 @@ inlining, at make_immutable time) a constructor that makes sure things like BUILD methods are called. It tries to be as non-intrusive as possible.") (license (package-license perl)))) +(define-public perl-moosex-params-validate + (package + (name "perl-moosex-params-validate") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/" + "MooseX-Params-Validate-" version ".tar.gz")) + (sha256 + (base32 + "16isvyfsnzp63qr9cwsn094hasb6m7rzldmzav6spk7rih4mxdwk")))) + (build-system perl-build-system) + (native-inputs + `(("perl-moose" ,perl-moose) + ("perl-test-fatal" ,perl-test-fatal))) + (propagated-inputs + `(("perl-devel-caller" ,perl-devel-caller) + ("perl-moose" ,perl-moose) + ("perl-params-validate" ,perl-params-validate) + ("perl-sub-exporter" ,perl-sub-exporter))) + (home-page "http://search.cpan.org/dist/MooseX-Params-Validate") + (synopsis "Extension of Params::Validate using Moose's types") + (description "This module fills a gap in Moose by adding method parameter +validation to Moose.") + (license (package-license perl)))) + (define-public perl-moosex-role-parameterized (package (name "perl-moosex-role-parameterized") |