mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add Class-Method-Modifiers.
* gnu/packages/perl.scm (perl-class-method-modifiers): New variable.
This commit is contained in:
parent
6ebe790bce
commit
417e11bfaa
1 changed files with 25 additions and 0 deletions
|
@ -534,6 +534,31 @@ (define-public perl-class-load-xs
|
|||
Class::Load")
|
||||
(license artistic2.0)))
|
||||
|
||||
(define-public perl-class-method-modifiers
|
||||
(package
|
||||
(name "perl-class-method-modifiers")
|
||||
(version "2.11")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
||||
"Class-Method-Modifiers-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"14nk2gin9cjwpysakli7f0gs4q1w220sn73xzv35rhlspngrggyy"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-test-fatal" ,perl-test-fatal)
|
||||
("perl-test-requires" ,perl-test-requires)))
|
||||
(home-page "http://search.cpan.org/dist/Class-Method-Modifiers")
|
||||
(synopsis "Moose-like method modifiers")
|
||||
(description "Class::Method::Modifiers provides three modifiers: before,
|
||||
around, and after. before and after are run just before and after the method
|
||||
they modify, but can not really affect that original method. around is run in
|
||||
place of the original method, with a hook to easily call that original
|
||||
method.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-class-tiny
|
||||
(package
|
||||
(name "perl-class-tiny")
|
||||
|
|
Loading…
Reference in a new issue