aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-03 11:58:11 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-04 00:46:04 -0500
commit107671a202ec343910eb74a233b15ce2a2f87f8e (patch)
tree46941f7f86d647cb6d2feb7c4c3e99b6dcbd2db5 /gnu
parent996f41102f2ff83a045d4580da10ad15eb64ac3c (diff)
downloadpatches-107671a202ec343910eb74a233b15ce2a2f87f8e.tar
patches-107671a202ec343910eb74a233b15ce2a2f87f8e.tar.gz
gnu: Add MooseX-RelatedClassRoles.
* gnu/packages/perl.scm (perl-moosex-relatedclassroles): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 37094e28d7..f5b44ccaf7 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2616,6 +2616,28 @@ BUILD methods are called. It tries to be as non-intrusive as possible.")
validation to Moose.")
(license (package-license perl))))
+(define-public perl-moosex-relatedclassroles
+ (package
+ (name "perl-moosex-relatedclassroles")
+ (version "0.004")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
+ "MooseX-RelatedClassRoles-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17vynkf6m5d039qkr4in1c9lflr8hnwp1fgzdwhj4q6jglipmnrh"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-moose" ,perl-moose)
+ ("perl-moosex-role-parameterized" ,perl-moosex-role-parameterized)))
+ (home-page "http://search.cpan.org/dist/MooseX-RelatedClassRoles")
+ (synopsis "Apply roles to a related Perl class")
+ (description "This module applies roles to make a subclass instead of
+manually setting up a subclass.")
+ (license (package-license perl))))
+
(define-public perl-moosex-role-parameterized
(package
(name "perl-moosex-role-parameterized")