[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28272] [PATCH 04/12] gnu: Add perl-moox-late.
From: |
Christopher Baines |
Subject: |
[bug#28272] [PATCH 04/12] gnu: Add perl-moox-late. |
Date: |
Tue, 29 Aug 2017 07:12:57 +0100 |
* gnu/packages/perl.scm (perl-moox-late): New variable.
---
gnu/packages/perl.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1e489d021..0b4e3071d 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 (package-license perl))))
+(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:
address@hidden
address@hidden Supports isa => $stringytype
address@hidden Supports does => $rolename
address@hidden Supports lazy_build => 1
address@hidden Exports blessed and confess functions to your namespace.
address@hidden Handles certain attribute traits
+Currently Hash, Array and Code are supported. This feature requires
+MooX::HandlesVia.
address@hidden enumerate")
+ (license (package-license perl))))
+
(define-public perl-moox-types-mooselike
(package
(name "perl-moox-types-mooselike")
--
2.14.1
- [bug#28272] [PATCH 11/12] gnu: Add libmd., (continued)
- [bug#28272] [PATCH 11/12] gnu: Add libmd., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 10/12] gnu: Add perl-gnupg-interface., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 07/12] gnu: Add perl-mime-tools., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 03/12] gnu: Add perl-moox-handlesvia., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 02/12] gnu: Add perl-data-perl., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 09/12] gnu: Add perl-text-template., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 06/12] gnu: Add perl-mailtools., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 12/12] gnu: Update signing-party., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 08/12] gnu: Add perl-net-idn-encode., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 05/12] gnu: Add perl-convert-binhex., Christopher Baines, 2017/08/29
- [bug#28272] [PATCH 04/12] gnu: Add perl-moox-late.,
Christopher Baines <=