diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 15:04:45 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-19 16:43:31 -0500 |
commit | 4306f28be5dae5313b4fbcfe69c78800476e068f (patch) | |
tree | 2c9498f9887348e9681f9793abc45ef2cd5a18f0 | |
parent | 89a2aa366e4878484c910a75193131f0f03496d4 (diff) | |
download | patches-4306f28be5dae5313b4fbcfe69c78800476e068f.tar patches-4306f28be5dae5313b4fbcfe69c78800476e068f.tar.gz |
gnu: Add MooseX-Types-LoadableClass.
* gnu/packages/perl.scm (perl-moosex-types-loadableclass): New
variable.
-rw-r--r-- | gnu/packages/perl.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index f7df3e8aab..b6940215e2 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2217,6 +2217,35 @@ behind the scenes it namespaces all your type declarations, effectively prevent name clashes between packages.") (license (package-license perl)))) +(define-public perl-moosex-types-loadableclass + (package + (name "perl-moosex-types-loadableclass") + (version "0.013") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "MooseX-Types-LoadableClass-" version ".tar.gz")) + (sha256 + (base32 + "13v2hn3xr6adx15qik8b6966fbbw77ik1v4sxx24f766la10w2mq")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build-tiny" ,perl-module-build-tiny) + ("perl-namespace-clean" ,perl-namespace-clean) + ("perl-moose" ,perl-moose) + ("perl-test-fatal" ,perl-test-fatal) + ("perl-class-load" ,perl-class-load))) + (propagated-inputs + `(("perl-module-runtime" ,perl-module-runtime) + ("perl-moosex-types" ,perl-moosex-types) + ("perl-namespace-autoclean" ,perl-namespace-autoclean))) + (home-page "http://search.cpan.org/dist/MooseX-Types-LoadableClass") + (synopsis "ClassName type constraints for Moose") + (description "MooseX::Types::LoadableClass provides a ClassName type +constraint with coercion to load the class.") + (license (package-license perl)))) + (define-public perl-mro-compat (package (name "perl-mro-compat") |