From bfcb13bc6a4c56ece232e7292155bfc1892c61c3 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 12:06:34 -0500 Subject: gnu: Add MooseX-Role-WithOverloading. * gnu/packages/perl.scm (perl-moosex-role-withoverloading): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index ec5f2cebde..bdd7dfa1a9 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1514,6 +1514,31 @@ (define-public perl-moosex-emulate-class-accessor-fast private methods are not.") (license (package-license perl)))) +(define-public perl-moosex-role-withoverloading + (package + (name "perl-moosex-role-withoverloading") + (version "0.16") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "MooseX-Role-WithOverloading-" version ".tar.gz")) + (sha256 + (base32 + "0kfs203ip44vsxh282kshia8wqkwklz4i7fs2ngsbj6frv00nqdv")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-aliased" ,perl-aliased) + ("perl-moose" ,perl-moose) + ("perl-namespace-autoclean" ,perl-namespace-autoclean))) + (home-page "http://search.cpan.org/dist/MooseX-Role-WithOverloading") + (synopsis "Roles which support overloading") + (description "MooseX::Role::WithOverloading allows you to write a +Moose::Role which defines overloaded operators and allows those overload +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-mro-compat (package (name "perl-mro-compat") -- cgit v1.2.3