diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-06 23:34:39 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:50 -0500 |
commit | 3e7a86cdc5fddebaa882986e29b797c37b6bc66e (patch) | |
tree | 7d5bdea1505bb5c949e622c1ae407e12f79120f7 /gnu/packages | |
parent | ef96132220b3b0027afc29154c5c1d49be8a0dd5 (diff) |
gnu: Add MooseX-Types-DateTime.
* gnu/packages/perl.scm (perl-moosex-types-datetime): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/perl.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index be4f7949a2..b3b6061c7c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3307,6 +3307,37 @@ behind the scenes it namespaces all your type declarations, effectively prevent name clashes between packages.") (license (package-license perl)))) +(define-public perl-moosex-types-datetime + (package + (name "perl-moosex-types-datetime") + (version "0.10") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "MooseX-Types-DateTime-" version ".tar.gz")) + (sha256 + (base32 + "03p66rx0qj2p23n2i2rj7c7x41621jzzaxscrpg95mb3mqmravc0")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build-tiny" ,perl-module-build-tiny) + ("perl-moose" ,perl-moose) + ("perl-test-fatal" ,perl-test-fatal) + ("perl-test-simple" ,perl-test-simple))) + (propagated-inputs + `(("perl-datetime" ,perl-datetime) + ("perl-datetime-locale" ,perl-datetime-locale) + ("perl-datetime-timezone" ,perl-datetime-timezone) + ("perl-moose" ,perl-moose) + ("perl-moosex-types" ,perl-moosex-types) + ("perl-namespace-clean" ,perl-namespace-clean))) + (home-page "http://search.cpan.org/dist/MooseX-Types-DateTime") + (synopsis "DateTime related constraints and coercions for Moose") + (description "This module packages several Moose::Util::TypeConstraints +with coercions, designed to work with the DateTime suite of objects.") + (license (package-license perl)))) + (define-public perl-moosex-types-loadableclass (package (name "perl-moosex-types-loadableclass") |