guix-devel
[Top][All Lists]
Advanced

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

[PATCH 6/7] gnu: Add r-getopt. * gnu/packages/bioinformatics.scm (r-geto


From: Roel Janssen
Subject: [PATCH 6/7] gnu: Add r-getopt. * gnu/packages/bioinformatics.scm (r-getopt): New variable. --- gnu/packages/bioinformatics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Date: Thu, 15 Sep 2016 13:38:57 +0200
User-agent: mu4e 0.9.17; emacs 25.1.1

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index af32d66..902d1d2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5404,6 +5404,28 @@ functionality.")
 scripts that accept short and long flag/options.")
     (license license:gpl2+)))
 
+(define-public r-getopt
+  (package
+    (name "r-getopt")
+    (version "1.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "getopt" version))
+       (sha256
+        (base32
+         "00f57vgnzmg7cz80rjmjz1556xqcmx8nhrlbbhaq4w7gl2ibl87r"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/trevorld/getopt";)
+    (synopsis "C-like getopt behavior")
+    (description
+     "Package designed to be used with Rscript to write ``#!'' shebang
+scripts that accept short and long flags/options.  Many users will prefer
+using instead the packages optparse or argparse which add extra features
+like automatically generated help option and usage, support for default
+values, positional argument support, etc.")                                    
                                 
+    (license license:gpl2+)))
+
 (define-public r-dnacopy
   (package
     (name "r-dnacopy")
-- 
2.10.0




reply via email to

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