[bug#42080,2/4] gnu: Add r-binman.
diff mbox series

Message ID 20200627114823.10738-2-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42080,1/4] gnu: Add r-semver.
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 27, 2020, 11:48 a.m. UTC
* gnu/packages/cran.scm (r-binman): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 218071e891..88e84d5866 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22352,3 +22352,34 @@  semantic version strings.  Semantic versioning is a simple set of
 rules and requirements that dictate how version numbers are assigned
 and incremented as outlined at <http://semver.org>.")
     (license license:expat)))
+
+(define-public r-binman
+  (package
+    (name "r-binman")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "binman" version))
+        (sha256
+          (base32
+            "0hm0h285p4v9lhrqjy8s22f1s1vmfpfla5iaycpj8vw3qb3632az"))))
+    (properties `((upstream-name . "binman")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-assertthat" ,r-assertthat)
+        ("r-httr" ,r-httr)
+        ("r-jsonlite" ,r-jsonlite)
+        ("r-rappdirs" ,r-rappdirs)
+        ("r-semver" ,r-semver)
+        ("r-xml2" ,r-xml2)
+        ("r-yaml" ,r-yaml)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/ropensci/binman")
+    (synopsis "A Binary Download Manager")
+    (description
+      "Tools and functions for managing the download of binary files.
+Binary repositories are defined in 'YAML' format.  Defining new
+pre-download, download and post-download templates allow additional
+repositories to be added.")
+    (license license:expat)))