gnu: Add MooseX-StrictConstructor.

* gnu/packages/perl.scm (perl-moosex-strictconstructor): New variable.
This commit is contained in:
Eric Bavier 2015-04-06 17:14:14 -05:00
parent 6a58b09280
commit 4be514cb47

View file

@ -2860,6 +2860,32 @@ (define-public perl-moosex-semiaffordanceaccessor
accessor, while set methods are prefixed with \"_set_\".")
(license artistic2.0)))
(define-public perl-moosex-strictconstructor
(package
(name "perl-moosex-strictconstructor")
(version "0.19")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
"MooseX-StrictConstructor-" version ".tar.gz"))
(sha256
(base32
"0ccawja1kabgglrkdw5v82m1pbw189a0mnd33l43rs01d70p6ra8"))))
(build-system perl-build-system)
(native-inputs
`(("perl-moose" ,perl-moose)
("perl-test-fatal" ,perl-test-fatal)))
(propagated-inputs
`(("perl-moose" ,perl-moose)
("perl-namespace-autoclean" ,perl-namespace-autoclean)))
(home-page "http://search.cpan.org/dist/MooseX-StrictConstructor")
(synopsis "Strict object constructors for Moose")
(description "Simply loading this module makes your constructors
\"strict\". If your constructor is called with an attribute init argument that
your class does not declare, then it calls Moose->throw_error(). ")
(license artistic2.0)))
(define-public perl-moosex-traits-pluggable
(package
(name "perl-moosex-traits-pluggable")