mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add MooseX-NonMoose.
* gnu/packages/perl.scm (perl-moosex-nonmoose): New variable.
This commit is contained in:
parent
c7a47f5e32
commit
26d427a5c1
1 changed files with 30 additions and 0 deletions
|
@ -1993,6 +1993,36 @@ (define-public perl-moosex-methodattributes
|
||||||
introspected using Moose meta method objects.")
|
introspected using Moose meta method objects.")
|
||||||
(license (package-license perl))))
|
(license (package-license perl))))
|
||||||
|
|
||||||
|
(define-public perl-moosex-nonmoose
|
||||||
|
(package
|
||||||
|
(name "perl-moosex-nonmoose")
|
||||||
|
(version "0.26")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
|
||||||
|
"MooseX-NonMoose-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zdaiphc45s5xj0ax5mkijf5d8v6w6yccb3zplgj6f30y7n55gnb"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("perl-moose" ,perl-moose)
|
||||||
|
("perl-test-fatal" ,perl-test-fatal)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("perl-list-moreutils" ,perl-list-moreutils)
|
||||||
|
("perl-module-runtime" ,perl-module-runtime)
|
||||||
|
("perl-moose" ,perl-moose)
|
||||||
|
("perl-try-tiny" ,perl-try-tiny)))
|
||||||
|
(home-page "http://search.cpan.org/dist/MooseX-NonMoose")
|
||||||
|
(synopsis "Subclassing of non-Moose classes")
|
||||||
|
(description "MooseX::NonMoose allows for easily subclassing non-Moose
|
||||||
|
classes with Moose, taking care of the details connected with doing this, such
|
||||||
|
as setting up proper inheritance from Moose::Object and installing (and
|
||||||
|
inlining, at make_immutable time) a constructor that makes sure things like
|
||||||
|
BUILD methods are called. It tries to be as non-intrusive as possible.")
|
||||||
|
(license (package-license perl))))
|
||||||
|
|
||||||
(define-public perl-moosex-role-parameterized
|
(define-public perl-moosex-role-parameterized
|
||||||
(package
|
(package
|
||||||
(name "perl-moosex-role-parameterized")
|
(name "perl-moosex-role-parameterized")
|
||||||
|
|
Loading…
Reference in a new issue