[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/27: gnu: Add MooseX-MarkAsMethods.

From: Eric Bavier
Subject: 03/27: gnu: Add MooseX-MarkAsMethods.
Date: Tue, 17 Mar 2015 18:15:16 +0000

bavier pushed a commit to branch master
in repository guix.

commit c7a47f5e32bb46f20609cdd47864ff74d6e531ed
Author: Eric Bavier <address@hidden>
Date:   Mon Mar 16 22:26:12 2015 -0500

    gnu: Add MooseX-MarkAsMethods.
    * gnu/packages/perl.scm (perl-moosex-markasmethods): New variable.
 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 e1eb088..9aa2470 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 "";)
+    (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
     (name "perl-moosex-methodattributes")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]