guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/14] gnu: Add perl-file-which.


From: Eric Bavier
Subject: [PATCH 08/14] gnu: Add perl-file-which.
Date: Sun, 7 Dec 2014 15:51:48 -0600

* gnu/packages/perl.scm (perl-file-which): New variable.
---
 gnu/packages/perl.scm |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8d25ef3..d7ca131 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -276,3 +276,25 @@ bin as is also commonly used) paths of your Perl 
distribution.")
     (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))))
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]