diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-12 11:44:54 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-12 15:55:57 -0500 |
commit | 5c2234f011e69499a2198269bea9ad4b25fec536 (patch) | |
tree | a190e9725fa3e372e947e3db7a8adaec2e1d9db8 /gnu | |
parent | 0c190411d8129b2ebe60611f603c3b9ba77639b7 (diff) | |
download | guix-5c2234f011e69499a2198269bea9ad4b25fec536.tar guix-5c2234f011e69499a2198269bea9ad4b25fec536.tar.gz |
gnu: Add Params-Validate.
* gnu/packages/perl.scm (perl-params-validate): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index a9359a7a93..7bd0cff9b2 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1677,6 +1677,30 @@ is particularly useful for debugging.") checking parameters easier.") (license (package-license perl)))) +(define-public perl-params-validate + (package + (name "perl-params-validate") + (version "1.17") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/" + "Params-Validate-" version ".tar.gz")) + (sha256 + (base32 + "1wh23i9kkma6493c0q1kvy6wmahd6spg6xm3xbp2ar1iy1xhks5l")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-requires" ,perl-test-requires))) + (propagated-inputs + `(("perl-module-implementation" ,perl-module-implementation))) + (home-page "http://search.cpan.org/dist/Params-Validate") + (synopsis "Validate method/function parameters") + (description "The Params::Validate module allows you to validate method or +function call parameters to an arbitrary level of specificity.") + (license artistic2.0))) + (define-public perl-parent (package (name "perl-parent") |