diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-16 22:26:12 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 13:03:13 -0500 |
commit | c7a47f5e32bb46f20609cdd47864ff74d6e531ed (patch) | |
tree | d83efcc3aeb9d6c4245426325d39cb75d8453045 | |
parent | e61fd0f04839004347e5d61efc0baa1eb1b450b6 (diff) | |
download | patches-c7a47f5e32bb46f20609cdd47864ff74d6e531ed.tar patches-c7a47f5e32bb46f20609cdd47864ff74d6e531ed.tar.gz |
gnu: Add MooseX-MarkAsMethods.
* gnu/packages/perl.scm (perl-moosex-markasmethods): New variable.
-rw-r--r-- | gnu/packages/perl.scm | 26 |
1 files changed, 26 insertions, 0 deletions
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") |