aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 09:21:41 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit994fad660c8e8dc318878d338eca33de3e98bae8 (patch)
tree779d141a0c956666b1df04acb2a6ffa3effae2e1 /gnu/packages/perl.scm
parentbfa3ad491ce8aca4fd923ad60e3488715b39789c (diff)
downloadguix-994fad660c8e8dc318878d338eca33de3e98bae8.tar
guix-994fad660c8e8dc318878d338eca33de3e98bae8.tar.gz
gnu: Add Class-Accessor-Chained.
* gnu/packages/perl.scm (perl-class-accessor-chained): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 d5e7629ccb..c2c07569af 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -302,6 +302,29 @@ the Carp.pm module doesn't help.")
your class.")
(license (package-license perl))))
+(define-public perl-class-accessor-chained
+ (package
+ (name "perl-class-accessor-chained")
+ (version "0.01")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
+ "Class-Accessor-Chained-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lilrjy1s0q5hyr0888kf0ifxjyl2iyk4vxil4jsv0sgh39lkgx5"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-class-accessor" ,perl-class-accessor)))
+ (home-page "http://search.cpan.org/dist/Class-Accessor-Chained")
+ (synopsis "Faster, but less expandable, chained accessors")
+ (description "A chained accessor is one that always returns the object
+when called with parameters (to set), and the value of the field when called
+with no arguments. This module subclasses Class::Accessor in order to provide
+the same mk_accessors interface.")
+ (license (package-license perl))))
+
(define-public perl-class-accessor-grouped
(package
(name "perl-class-accessor-grouped")