diff options
author | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-03-31 17:38:53 +0100 |
---|---|---|
committer | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-03-31 17:47:06 +0100 |
commit | 233e1ed3adf79eebfc39c762717daeffc3857d16 (patch) | |
tree | fbd8f6c577b0e769018a17d2d614e294026200e6 /gnu/packages/perl.scm | |
parent | f73e7fea69ec6d1c17dd92c604c6b05283f8c789 (diff) | |
download | guix-233e1ed3adf79eebfc39c762717daeffc3857d16.tar.gz |
gnu: Add perl-class-mix.
* gnu/packages/perl.scm (perl-class-mix): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 25e5450e8f..78c8258284 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1306,6 +1306,34 @@ that original method. @code{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-mix + (package + (name "perl-class-mix") + (version "0.006") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Class-Mix-" + version ".tar.gz")) + (sha256 + (base32 + "02vwzzqn1s24g525arbrjh9s9j0y1inp3wbr972gh51ri51zciw7")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (propagated-inputs + `(("perl-params-classify" ,perl-params-classify))) + (home-page "https://metacpan.org/release/Class-Mix") + (synopsis "Dynamic class mixing") + (description "The @code{mix_class} function provided by this +module dynamically generates anonymous classes with specified +inheritance. This is useful where an incomplete class requires use of +a mixin in order to become instantiable.") + (license perl-license))) + (define-public perl-class-singleton (package (name "perl-class-singleton") |