diff options
author | Christopher Baines <mail@cbaines.net> | 2017-08-28 20:56:10 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-09-12 22:59:36 +0100 |
commit | b7206dd36244a70f22a798570f1d9eb09cda51ad (patch) | |
tree | efa35bb5c07b49b67ee2844d01df5cf41b1deede | |
parent | 40db2394b2883cbc4c38f1994fcb2958151d92ca (diff) |
gnu: Add perl-moox-late.
* gnu/packages/perl.scm (perl-moox-late): New variable.
-rw-r--r-- | gnu/packages/perl.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 8aed1251cf..03ff7ab30c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5179,6 +5179,46 @@ attribute functionality. It provides a means of proxying functionality from an external class to the given atttribute.") (license perl-license))) +(define-public perl-moox-late + (package + (name "perl-moox-late") + (version "0.015") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/T/TO/TOBYINK/MooX-late-" + version + ".tar.gz")) + (sha256 + (base32 + "1gzvd9zws3v09sh0xx6srmw4jwi22fnrya4zcsc8dykn62pjclqp")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-requires" ,perl-test-requires))) + (inputs + `(("perl-moo" ,perl-moo) + ("perl-moox" ,perl-moox) + ("perl-moox-handlesvia" ,perl-moox-handlesvia))) + (propagated-inputs + `(("perl-type-tiny" ,perl-type-tiny))) + (home-page + "http://search.cpan.org/dist/MooX-late") + (synopsis "Easily translate Moose code to Moo") + (description + "MooX::late does the following: +@enumerate +@item Supports isa => $stringytype +@item Supports does => $rolename +@item Supports lazy_build => 1 +@item Exports blessed and confess functions to your namespace. +@item Handles certain attribute traits +Currently Hash, Array and Code are supported. This feature requires +MooX::HandlesVia. +@end enumerate") + (license perl-license))) + (define-public perl-moox-types-mooselike (package (name "perl-moox-types-mooselike") |