gnu: Add perl-file-which.

* gnu/packages/perl.scm (perl-file-which): New variable.
This commit is contained in:
Eric Bavier 2014-12-01 00:19:55 -06:00
parent 2e66590aad
commit 31f3976a21

View file

@ -276,3 +276,25 @@ (define-public perl-test-script
(home-page (string-append "http://search.cpan.org/~adamk/"
"Test-Script-" version))
(license (package-license perl))))
(define-public perl-file-which
(package
(name "perl-file-which")
(version "1.09")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
"File-Which-" version ".tar.gz"))
(sha256
(base32
"1hxjyh9yrv32f3g8vrnr8iylzprajsac14vjm75kf1qnj1jyqbxp"))))
(build-system perl-build-system)
(native-inputs `(("test-script" ,perl-test-script)))
(synopsis "Portable implementation of the `which' utility")
(description
"File::Which was created to be able to get the paths to executable
programs on systems under which the `which' program wasn't implemented in the
shell.")
(home-page (string-append "http://search.cpan.org/~adamk/"
"File-Which-" version))
(license (package-license perl))))