summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 17:18:42 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commit8819f57bc1181a0eb67f01d60d63cdbfd25c62e0 (patch)
treebe328824e86181b2dac151cdfdc39ad56050cfd7 /gnu
parentf902e4bcc2fd174dabee1e68f80df7f3e60ec9ef (diff)
downloadguix-8819f57bc1181a0eb67f01d60d63cdbfd25c62e0.tar.gz
gnu: Add Class-Accessor.
* gnu/packages/perl.scm (perl-class-accessor): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 90ba940e63..588e61b922 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -216,6 +216,29 @@ code or from an external program.  Optionally, output can be teed so that it
 is captured while being passed through to the original file handles.")
     (license asl2.0)))
 
+(define-public perl-class-accessor
+  (package
+    (name "perl-class-accessor")
+    (version "0.34")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/K/KA/KASEI/"
+                           "Class-Accessor-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1z6fqg0yz8gay15r1iasslv8f1n1mzjkrhs47fvbj3rqz36y1cfd"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-sub-name" ,perl-sub-name)))
+    (propagated-inputs
+     `(("perl-base" ,perl-base)))
+    (home-page "http://search.cpan.org/dist/Class-Accessor")
+    (synopsis "Automated accessor generation")
+    (description "This module automagically generates accessors/mutators for
+your class.")
+    (license (package-license perl))))
+
 (define-public perl-class-c3-adopt-next
   (package
     (name "perl-class-c3-adopt-next")