mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add perl-super.
* gnu/packages/perl.scm (perl-super): New public variable.
This commit is contained in:
parent
49ab09e699
commit
e84f22257f
1 changed files with 27 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
;;; Copyright © 2017 Raoul J.P. Bonnal <ilpuccio.febo@gmail.com>
|
;;; Copyright © 2017 Raoul J.P. Bonnal <ilpuccio.febo@gmail.com>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||||
;;;
|
;;;
|
||||||
|
@ -7106,6 +7106,32 @@ (define-public perl-sub-uplevel
|
||||||
uplevel() are avoided.")
|
uplevel() are avoided.")
|
||||||
(license (package-license perl))))
|
(license (package-license perl))))
|
||||||
|
|
||||||
|
(define-public perl-super
|
||||||
|
(package
|
||||||
|
(name "perl-super")
|
||||||
|
(version "1.20141117")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
|
||||||
|
"SUPER-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1cn05kacg0xfbm1zzksm2yx2pnrzqja4d9163cxv3sdfc1yhwqhs"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("perl-module-build" ,perl-module-build)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("perl-sub-identify" ,perl-sub-identify)))
|
||||||
|
(home-page "http://search.cpan.org/dist/SUPER/")
|
||||||
|
(synopsis "Control superclass method dispatching")
|
||||||
|
(description
|
||||||
|
"When subclassing a class, you may occasionally want to dispatch control to
|
||||||
|
the superclass---at least conditionally and temporarily. This module provides
|
||||||
|
nicer equivalents to the native Perl syntax for calling superclasses, along with
|
||||||
|
a universal @code{super} method to determine a class' own superclass, and better
|
||||||
|
support for run-time mix-ins and roles.")
|
||||||
|
(license perl-license)))
|
||||||
|
|
||||||
(define-public perl-svg
|
(define-public perl-svg
|
||||||
(package
|
(package
|
||||||
(name "perl-svg")
|
(name "perl-svg")
|
||||||
|
|
Loading…
Reference in a new issue