* [PATCH] gnu: Add perl-getopt-long.
@ 2016-11-02 12:55 Alex Sassmannshausen
2016-11-02 12:55 ` Alex Sassmannshausen
2016-11-02 14:24 ` Marius Bakke
0 siblings, 2 replies; 3+ messages in thread
From: Alex Sassmannshausen @ 2016-11-02 12:55 UTC (permalink / raw)
To: guix-devel; +Cc: Alex Sassmannshausen
A single patch adding perl-getopt-long.
Alex
Alex Sassmannshausen (1):
gnu: Add perl-getopt-long.
gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
--
2.10.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] gnu: Add perl-getopt-long.
2016-11-02 12:55 [PATCH] gnu: Add perl-getopt-long Alex Sassmannshausen
@ 2016-11-02 12:55 ` Alex Sassmannshausen
2016-11-02 14:24 ` Marius Bakke
1 sibling, 0 replies; 3+ messages in thread
From: Alex Sassmannshausen @ 2016-11-02 12:55 UTC (permalink / raw)
To: guix-devel; +Cc: Alex Sassmannshausen
* gnu/packages/perl.scm (perl-getopt-long): New variable.
---
gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 6b12b34..c5e8fe3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2685,6 +2685,35 @@ functionality; it returns a list of file names that match the given pattern.
For instance, it supports the @code{**/*.pm} form.")
(license (package-license perl))))
+(define-public perl-getopt-long
+ (package
+ (name "perl-getopt-long")
+ (version "v2.49.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/J/JV/JV/"
+ "Getopt-Long-" (substring version 1) ".tar.gz"))
+ (sha256
+ (base32
+ "0bw8gbhj8s5gmkqvs3m7pk9arqhgqssrby4yimh29ah9alix9ylq"))))
+ (build-system perl-build-system)
+ (home-page
+ "http://search.cpan.org/dist/Getopt-Long")
+ (synopsis
+ "Module to handle parsing command line options")
+ (description "The @code{Getopt::Long} module implements an extended getopt
+function called @code{GetOptions()}. It parses the command line from
+@code{ARGV}, recognizing and removing specified options and their possible
+values.
+
+This function adheres to the POSIX syntax for command line options, with GNU
+extensions. In general, this means that options have long names instead of
+single letters, and are introduced with a double dash \"--\". Support for
+bundling of command line options, as was the case with the more traditional
+single-letter approach, is provided but not enabled by default.")
+ (license (package-license perl))))
+
(define-public perl-getopt-long-descriptive
(package
(name "perl-getopt-long-descriptive")
--
2.10.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add perl-getopt-long.
2016-11-02 12:55 [PATCH] gnu: Add perl-getopt-long Alex Sassmannshausen
2016-11-02 12:55 ` Alex Sassmannshausen
@ 2016-11-02 14:24 ` Marius Bakke
1 sibling, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2016-11-02 14:24 UTC (permalink / raw)
To: Alex Sassmannshausen, guix-devel; +Cc: Alex Sassmannshausen
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
Alex Sassmannshausen <alex.sassmannshausen@gmail.com> writes:
> A single patch adding perl-getopt-long.
The patch looks good, but is dual perl/gpl licensed according to the
README and lib/Getopt/Long.pm.
I updated the license information and committed as
e681e347c4ed071db88442c2c592241ea0f43857. Thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-02 14:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 12:55 [PATCH] gnu: Add perl-getopt-long Alex Sassmannshausen
2016-11-02 12:55 ` Alex Sassmannshausen
2016-11-02 14:24 ` Marius Bakke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.