summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 11:45:49 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commitdd34630f56f546204ecae768a9ec7705da9d213d (patch)
tree4abeadde8699f1f3274bce6131df36e8e2d5ed4b /gnu
parent5c2234f011e69499a2198269bea9ad4b25fec536 (diff)
downloadguix-dd34630f56f546204ecae768a9ec7705da9d213d.tar.gz
gnu: Add Getopt-Long-Descriptive.
* gnu/packages/perl.scm (perl-getopt-long-descriptive): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7bd0cff9b2..fc8deccc19 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1109,6 +1109,33 @@ shell.")
                               "File-Which-" version))
     (license (package-license perl))))
 
+(define-public perl-getopt-long-descriptive
+  (package
+    (name "perl-getopt-long-descriptive")
+    (version "0.098")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+                           "Getopt-Long-Descriptive-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08lphvqshcajvvd6z4rvcda6rx5kz8pysrsip4nfv2mbks95p9ma"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-fatal" ,perl-test-fatal)
+       ("perl-test-warnings" ,perl-test-warnings)))
+    (propagated-inputs
+     `(("perl-params-validate" ,perl-params-validate)
+       ("perl-sub-exporter" ,perl-sub-exporter)))
+    (home-page "http://search.cpan.org/dist/Getopt-Long-Descriptive")
+    (synopsis "Getopt::Long, but simpler and more powerful")
+    (description "Getopt::Long::Descriptive is yet another Getopt library.
+It's built atop Getopt::Long, and gets a lot of its features, but tries to
+avoid making you think about its huge array of options.  It also provides
+usage (help) messages, data validation, and a few other useful features.")
+    (license (package-license perl))))
+
 (define-public perl-getopt-tabular
   (package
     (name "perl-getopt-tabular")