summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 11:32:52 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commit7fc7903bb73cab7780663d96e03bcd832d1f4cf6 (patch)
tree7a56380ef5bb04068fcf57a2055493b68043c79f
parent11f4c54206793a79d0969af1d22d6f0f898748c1 (diff)
downloadguix-7fc7903bb73cab7780663d96e03bcd832d1f4cf6.tar.gz
gnu: Add MooseX-Emulate-Class-Accessor-Fast.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast): New
  variable.
-rw-r--r--gnu/packages/perl.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 6776048e2e..8be6964038 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1440,6 +1440,32 @@ A class definition with Moose reads like a list of very concise English
 sentences.")
     (license (package-license perl))))
 
+(define-public perl-moosex-emulate-class-accessor-fast
+  (package
+    (name "perl-moosex-emulate-class-accessor-fast")
+    (version "0.00903")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
+                           "MooseX-Emulate-Class-Accessor-Fast-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1lkn1h4sxr1483jicsgsgzclbfw63g2i2c3m4v4j9ar75yrb0kh8"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-exception" ,perl-test-exception)))
+    (propagated-inputs
+     `(("perl-moose" ,perl-moose)))
+    (home-page "http://search.cpan.org/dist/MooseX-Emulate-Class-Accessor-Fast")
+    (synopsis "Emulate Class::Accessor::Fast behavior using Moose attributes")
+    (description "This module attempts to emulate the behavior of
+Class::Accessor::Fast as accurately as possible using the Moose attribute
+system.  The public API of Class::Accessor::Fast is wholly supported, but the
+private methods are not.")
+    (license (package-license perl))))
+
 (define-public perl-mro-compat
   (package
     (name "perl-mro-compat")