guix-commits
[Top][All Lists]
Advanced

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

07/24: gnu: Add MooseX-SemiAffordanceAccessor.


From: Eric Bavier
Subject: 07/24: gnu: Add MooseX-SemiAffordanceAccessor.
Date: Fri, 20 Mar 2015 19:23:37 +0000

bavier pushed a commit to branch master
in repository guix.

commit b6fb9f2c2715c29b14dd52e25d436464267cfbd4
Author: Eric Bavier <address@hidden>
Date:   Fri Mar 20 13:07:57 2015 -0500

    gnu: Add MooseX-SemiAffordanceAccessor.
    
    * gnu/packages/perl.scm (perl-moosex-semiaffordanceaccessor): New
      variable.
---
 gnu/packages/perl.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3287c4a..28b0645 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2259,6 +2259,29 @@ 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-moosex-semiaffordanceaccessor
+  (package
+    (name "perl-moosex-semiaffordanceaccessor")
+    (version "0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+                           "MooseX-SemiAffordanceAccessor-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1mdil9ckgmgr78z59p8wfa35ixn5855ndzx14y01dvfxpiv5gf55"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-moose" ,perl-moose)))
+    (home-page "http://search.cpan.org/dist/MooseX-SemiAffordanceAccessor";)
+    (synopsis "Name your accessors foo() and set_foo()")
+    (description "This module does not provide any methods.  Simply loading it
+changes the default naming policy for the loading class so that accessors are
+separated into get and set methods.  The get methods have the same name as the
+accessor, while set methods are prefixed with \"_set_\".")
+    (license artistic2.0)))
+
 (define-public perl-moosex-traits-pluggable
   (package
     (name "perl-moosex-traits-pluggable")



reply via email to

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