aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-12-09 21:03:44 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-03-02 18:39:16 +0100
commit418852f903b71fa91a257073fb3ad04a06542737 (patch)
treeaa60d86455cf96a9fddc98162636c58fb127170d /gnu/packages/perl.scm
parent68e31f81c1b14523275f48ba7e353ebf026268ea (diff)
downloadguix-418852f903b71fa91a257073fb3ad04a06542737.tar
guix-418852f903b71fa91a257073fb3ad04a06542737.tar.gz
gnu: Add perl-mousex-nativetraits.
* gnu/packages/perl.scm (perl-mousex-nativetraits): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 05ad95b5cc..840e0b763e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4974,6 +4974,32 @@ fields in Moo-based classes.")
subset of the functionality for reduced startup time.")
(license (package-license perl))))
+(define-public perl-mousex-nativetraits
+ (package
+ (name "perl-mousex-nativetraits")
+ (version "1.09")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/G/GF/GFUJI/"
+ "MouseX-NativeTraits-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pnbchkxfz9fwa8sniyjqp0mz75b3k2fafq9r09znbbh51dbz9gq"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-any-moose" ,perl-any-moose)
+ ("perl-test-fatal" ,perl-test-fatal)))
+ (propagated-inputs
+ `(("perl-mouse" ,perl-mouse)))
+ (home-page "http://search.cpan.org/dist/MouseX-NativeTraits")
+ (synopsis "Extend attribute interfaces for Mouse")
+ (description
+ "While @code{Mouse} attributes provide a way to name your accessors,
+readers, writers, clearers and predicates, @code{MouseX::NativeTraits}
+provides commonly used attribute helper methods for more specific types
+of data.")
+ (license (package-license perl))))
+
(define-public perl-mozilla-ca
(package
(name "perl-mozilla-ca")