From 565bf214ad0258c66eef22c48e13c902a77ac439 Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Sat, 27 Jun 2020 19:48:20 +0800 Subject: gnu: Add r-semver. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cran.scm (r-semver): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 1ff7941baf..60a99d1664 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22396,3 +22396,29 @@ (define-public r-rismed RIS (for Research Information Systems, a common tag format for bibliographic data) and PubMed.") (license license:gpl2+))) + +(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 "Parser for Semantic Versioning 2.0.0") + (description + "This package provides 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 @url{http://semver.org}.") + (license license:expat))) -- cgit v1.2.3