diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-06 23:54:20 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:51 -0500 |
commit | d2401db9ff760344165775d2e69abf8cb4feba98 (patch) | |
tree | 48bc8d4ec1905daafed3cded2553303717be9fe2 /gnu/packages | |
parent | 4f43da182bc0dadb7b421b82516f63e2cbf30c8a (diff) | |
download | guix-d2401db9ff760344165775d2e69abf8cb4feba98.tar.gz guix-d2401db9ff760344165775d2e69abf8cb4feba98.zip |
gnu: Add MooseX-Types-DateTime-MoreCoercions.
* gnu/packages/perl.scm (perl-moosex-types-datetime-morecoercions):
New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/perl.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 65b2496694..2640fefd78 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3356,6 +3356,40 @@ prevent name clashes between packages.") with coercions, designed to work with the DateTime suite of objects.") (license (package-license perl)))) +(define-public perl-moosex-types-datetime-morecoercions + (package + (name "perl-moosex-types-datetime-morecoercions") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "MooseX-Types-DateTime-MoreCoercions-" + version ".tar.gz")) + (sha256 + (base32 + "0888ns6fmvpcj5vh86n8mra9anq8jak7gf0b1z5hvww4birki6dn")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build-tiny" ,perl-module-build-tiny) + ("perl-test-fatal" ,perl-test-fatal) + ("perl-test-simple" ,perl-test-simple))) + (propagated-inputs + `(("perl-datetime" ,perl-datetime) + ("perl-datetimex-easy" ,perl-datetimex-easy) + ("perl-moose" ,perl-moose) + ("perl-moosex-types" ,perl-moosex-types) + ("perl-moosex-types-datetime" ,perl-moosex-types-datetime) + ("perl-namespace-clean" ,perl-namespace-clean) + ("perl-time-duration-parse" ,perl-time-duration-parse))) + (home-page + "http://search.cpan.org/dist/MooseX-Types-DateTime-MoreCoercions") + (synopsis "Extensions to MooseX::Types::DateTime") + (description "This module builds on MooseX::Types::DateTime to add +additional custom types and coercions. Since it builds on an existing type, +all coercions and constraints are inherited.") + (license (package-license perl)))) + (define-public perl-moosex-types-loadableclass (package (name "perl-moosex-types-loadableclass") |