aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 12:32:47 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commit1e3a6eae990d1e8813b4fbfc5959ab7c379e2728 (patch)
tree72da99eefa3c7ccca517c365f0d938a525af09b5 /gnu/packages
parentffb2d0b42b14035a0ed403d42878fc38a1e2e7be (diff)
downloadgnu-guix-1e3a6eae990d1e8813b4fbfc5959ab7c379e2728.tar
gnu-guix-1e3a6eae990d1e8813b4fbfc5959ab7c379e2728.tar.gz
gnu: Add MooseX-MethodAttributes.
* gnu/packages/perl.scm (perl-moosex-methodattributes): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 22c83e8993..0fcd019ce2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1567,6 +1567,33 @@ private methods are not.")
for creating objects using parameters passed in from the command line.")
(license (package-license perl))))
+(define-public perl-moosex-methodattributes
+ (package
+ (name "perl-moosex-methodattributes")
+ (version "0.29")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "MooseX-MethodAttributes-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pz3i67gadfmgzj87m1xp2ilcg3yhppdylcng2h6c11dy0a06hdk"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build-tiny" ,perl-module-build-tiny)
+ ("perl-test-fatal" ,perl-test-fatal)
+ ("perl-test-requires" ,perl-test-requires)))
+ (propagated-inputs
+ `(("perl-moose" ,perl-moose)
+ ("perl-moosex-types" ,perl-moosex-types)
+ ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
+ (home-page "http://search.cpan.org/dist/MooseX-MethodAttributes")
+ (synopsis "Code attribute introspection")
+ (description "This module allows code attributes of methods to be
+introspected using Moose meta method objects.")
+ (license (package-license perl))))
+
(define-public perl-moosex-role-parameterized
(package
(name "perl-moosex-role-parameterized")