guix-commits
[Top][All Lists]
Advanced

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

05/10: gnu: Add r-argparse.


From: Ricardo Wurmus
Subject: 05/10: gnu: Add r-argparse.
Date: Thu, 5 Jul 2018 09:09:26 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fa6975996384c8ae1287f8673a59bda3d86a1532
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jul 4 17:43:03 2018 +0200

    gnu: Add r-argparse.
    
    * gnu/packages/cran.scm (r-argparse): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9f4c640..fc4baa5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4619,3 +4619,30 @@ support for default values, positional argument support, 
etc.")
      "This package was designed to find an acceptable Python binary that
 matches version and feature constraints.")
     (license license:expat)))
+
+;; This in not the same as "r-argparser"
+(define-public r-argparse
+  (package
+    (name "r-argparse")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "argparse" version))
+       (sha256
+        (base32
+         "0fzrbj87b274vf96azdnsjxk2nf45d5wy58vzmlah4b4h7q4j524"))))
+    (build-system r-build-system)
+    (inputs `(("python" ,python)))
+    (propagated-inputs
+     `(("r-findpython" ,r-findpython)
+       ("r-getopt" ,r-getopt)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-proto" ,r-proto)))
+    (home-page "https://github.com/trevorld/argparse";)
+    (synopsis "Command line optional and positional argument parser")
+    (description
+     "This package provides a command line parser to be used with Rscript to
+write shebang scripts that gracefully accept positional and optional arguments
+and automatically generate usage notices.")
+    (license license:gpl2+)))



reply via email to

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