summaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 14:53:36 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:31 -0500
commit66f1d8781bbfeb7bb821d3d248fb234b4414c8c0 (patch)
treee8b3d9ec67efcd7903d63bf78f73d36f5325e22c /gnu/packages/perl.scm
parent4b4fe57dc9a27436e9a13c8a34579a0211aadbb7 (diff)
gnu: Add MooseX-Traits-Pluggable.
* gnu/packages/perl.scm (perl-moosex-traits-pluggable): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 43a922f0e3..f7df3e8aab 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2162,6 +2162,34 @@ methods to be composed into the classes/roles/instances it's compiled to,
where plain Moose::Roles would lose the overloading.")
(license (package-license perl))))
+(define-public perl-moosex-traits-pluggable
+ (package
+ (name "perl-moosex-traits-pluggable")
+ (version "0.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
+ "MooseX-Traits-Pluggable-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jjqmcidy4kdgp5yffqqwxrsab62mbhbpvnzdy1rpwnb1savg5mb"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-moose" ,perl-moose)
+ ("perl-test-exception" ,perl-test-exception)))
+ (propagated-inputs
+ `(("perl-class-load" ,perl-class-load)
+ ("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-moose" ,perl-moose)
+ ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
+ (home-page
+ "http://search.cpan.org/dist/MooseX-Traits-Pluggable")
+ (synopsis "Trait loading and resolution for Moose")
+ (description "Adds support on top of MooseX::Traits for class precedence
+search for traits and some extra attributes")
+ (license (package-license perl))))
+
(define-public perl-moosex-types
(package
(name "perl-moosex-types")