From c7a47f5e32bb46f20609cdd47864ff74d6e531ed Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 16 Mar 2015 22:26:12 -0500 Subject: gnu: Add MooseX-MarkAsMethods. * gnu/packages/perl.scm (perl-moosex-markasmethods): New variable. --- gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e1eb0887bc..9aa2470565 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1940,6 +1940,32 @@ private methods are not.") for creating objects using parameters passed in from the command line.") (license (package-license perl)))) +(define-public perl-moosex-markasmethods + (package + (name "perl-moosex-markasmethods") + (version "0.15") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RS/RSRCHBOY/" + "MooseX-MarkAsMethods-" version ".tar.gz")) + (sha256 + (base32 + "1y3yxwcjjajm66pvca54cv9fax7a6dy36xqr92x7vzyhfqrw3v69")))) + (build-system perl-build-system) + (inputs + `(("perl-moose" ,perl-moose) + ("perl-namespace-autoclean" ,perl-namespace-autoclean))) + (home-page "http://search.cpan.org/dist/MooseX-MarkAsMethods") + (synopsis "Mark overload code symbols as methods") + (description "MooseX::MarkAsMethods allows one to easily mark certain +functions as Moose methods. This will allow other packages such as +namespace::autoclean to operate without blowing away your overloads. After +using MooseX::MarkAsMethods your overloads will be recognized by Class::MOP as +being methods, and class extension as well as composition from roles with +overloads will \"just work\".") + (license lgpl2.1))) + (define-public perl-moosex-methodattributes (package (name "perl-moosex-methodattributes") -- cgit v1.2.3