aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-16 22:33:37 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:13 -0500
commit26d427a5c135d95e3ada69dfc64a9cd5e5a04993 (patch)
tree71ac236063e2c326d3993c3e0fabd52773c29946 /gnu/packages/perl.scm
parentc7a47f5e32bb46f20609cdd47864ff74d6e531ed (diff)
downloadguix-26d427a5c135d95e3ada69dfc64a9cd5e5a04993.tar
guix-26d427a5c135d95e3ada69dfc64a9cd5e5a04993.tar.gz
gnu: Add MooseX-NonMoose.
* gnu/packages/perl.scm (perl-moosex-nonmoose): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9aa2470565..a6a21ec311 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1993,6 +1993,36 @@ overloads will \"just work\".")
introspected using Moose meta method objects.")
(license (package-license perl))))
+(define-public perl-moosex-nonmoose
+(package
+ (name "perl-moosex-nonmoose")
+ (version "0.26")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
+ "MooseX-NonMoose-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zdaiphc45s5xj0ax5mkijf5d8v6w6yccb3zplgj6f30y7n55gnb"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-moose" ,perl-moose)
+ ("perl-test-fatal" ,perl-test-fatal)))
+ (propagated-inputs
+ `(("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-module-runtime" ,perl-module-runtime)
+ ("perl-moose" ,perl-moose)
+ ("perl-try-tiny" ,perl-try-tiny)))
+ (home-page "http://search.cpan.org/dist/MooseX-NonMoose")
+ (synopsis "Subclassing of non-Moose classes")
+ (description "MooseX::NonMoose allows for easily subclassing non-Moose
+classes with Moose, taking care of the details connected with doing this, such
+as setting up proper inheritance from Moose::Object and installing (and
+inlining, at make_immutable time) a constructor that makes sure things like
+BUILD methods are called. It tries to be as non-intrusive as possible.")
+ (license (package-license perl))))
+
(define-public perl-moosex-role-parameterized
(package
(name "perl-moosex-role-parameterized")