summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 12:06:34 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commitbfcb13bc6a4c56ece232e7292155bfc1892c61c3 (patch)
treecbeaecbde3e35a765ed319c6627ad628db9e7af1 /gnu
parentceb3b13830c472d63c6fecd60771c69af77e33bb (diff)
downloadguix-bfcb13bc6a4c56ece232e7292155bfc1892c61c3.tar.gz
gnu: Add MooseX-Role-WithOverloading.
* gnu/packages/perl.scm (perl-moosex-role-withoverloading): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
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 @@ system.  The public API of Class::Accessor::Fast is wholly supported, but the
 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")