From 1e3a6eae990d1e8813b4fbfc5959ab7c379e2728 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 12:32:47 -0500 Subject: gnu: Add MooseX-MethodAttributes. * gnu/packages/perl.scm (perl-moosex-methodattributes): New variable. --- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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") -- cgit 1.4.1