mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: Add Sub-Name.
* gnu/packages/perl.scm (perl-sub-name): New variable.
This commit is contained in:
parent
7bda142b55
commit
39bbf6131c
1 changed files with 22 additions and 0 deletions
|
@ -1468,6 +1468,28 @@ (define-public perl-sub-install
|
||||||
can see them.")
|
can see them.")
|
||||||
(license (package-license perl))))
|
(license (package-license perl))))
|
||||||
|
|
||||||
|
(define-public perl-sub-name
|
||||||
|
(package
|
||||||
|
(name "perl-sub-name")
|
||||||
|
(version "0.12")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
||||||
|
"Sub-Name-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1sdlc8pv7vyyc48gzh70hbwzn0hzwl3zbcy2dkmfw8vjzgya5i06"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("perl-devel-checkbin" ,perl-devel-checkbin)))
|
||||||
|
(home-page "http://search.cpan.org/dist/Sub-Name")
|
||||||
|
(synopsis "(Re)name a sub")
|
||||||
|
(description "Assigns a new name to referenced sub. If package
|
||||||
|
specification is omitted in the name, then the current package is used. The
|
||||||
|
return value is the sub.")
|
||||||
|
(license (package-license perl))))
|
||||||
|
|
||||||
(define-public perl-sub-uplevel
|
(define-public perl-sub-uplevel
|
||||||
(package
|
(package
|
||||||
(name "perl-sub-uplevel")
|
(name "perl-sub-uplevel")
|
||||||
|
|
Loading…
Reference in a new issue