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

Message ID 20200627114823.10738-1-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-semver): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..218071e891 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,30 @@  across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-semver
+  (package
+    (name "r-semver")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "semver" version))
+        (sha256
+          (base32
+            "10wpkyms2cix3bsin2q0qhkbl445pwwpa5gm2s4jjw1989namkxy"))))
+    (properties `((upstream-name . "semver")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-assertthat" ,r-assertthat)
+        ("r-rcpp" ,r-rcpp)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://github.com/johndharrison/semver")
+    (synopsis "'Semantic Versioning V2.0.0' Parser")
+    (description
+      "Tools and functions for parsing, rendering and operating on
+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)))