mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add Moo.
* gnu/packages/perl.scm (perl-moo): New variable.
This commit is contained in:
parent
77917f67fd
commit
5a96dc03c7
1 changed files with 31 additions and 0 deletions
|
@ -1748,6 +1748,37 @@ (define-public perl-module-runtime-conflicts
|
|||
from Moose::Conflicts and moose-outdated.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-moo
|
||||
(package
|
||||
(name "perl-moo")
|
||||
(version "1.007000")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
|
||||
"Moo-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0y9s6s9jjd519wgal6lwc9id4sadrvfn8gjb51dl602d0kk0l7n5"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-test-fatal" ,perl-test-fatal)))
|
||||
(propagated-inputs
|
||||
`(("perl-class-method-modifiers" ,perl-class-method-modifiers)
|
||||
("perl-class-xsaccessor" ,perl-class-xsaccessor)
|
||||
("perl-devel-globaldestruction" ,perl-devel-globaldestruction)
|
||||
("perl-import-into" ,perl-import-into)
|
||||
("perl-module-runtime" ,perl-module-runtime)
|
||||
("perl-role-tiny" ,perl-role-tiny)
|
||||
("perl-strictures" ,perl-strictures)))
|
||||
(home-page "http://search.cpan.org/dist/Moo")
|
||||
(synopsis "Minimalist Object Orientation (with Moose compatibility)")
|
||||
(description "Moo is an extremely light-weight Object Orientation system.
|
||||
It allows one to concisely define objects and roles with a convenient syntax
|
||||
that avoids the details of Perl's object system. Moo contains a subset of
|
||||
Moose and is optimised for rapid startup.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-moose
|
||||
(package
|
||||
(name "perl-moose")
|
||||
|
|
Loading…
Reference in a new issue