diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 15:24:28 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 17:39:24 +0100 |
commit | 162ee32dd4791c835a31038219a0dc80112abeb0 (patch) | |
tree | e66bddf64518698b3d18f7ccadb451631ffb1e1d | |
parent | 7b81e7aa8e9814c7181fd2b8655ab949d7c37984 (diff) |
gnu: Add rust-semver-parser-0.10.
* gnu/packages/crates-io.scm (rust-semver-parser-0.10): New variable.
(rust-semver-parser-0.9): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 92d914df0b..2033117b69 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25251,8 +25251,32 @@ comparison.") "Semantic version parsing and comparison.") (license (list license:expat license:asl2.0)))) +(define-public rust-semver-parser-0.10 + (package + (name "rust-semver-parser") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a0lgmnd7jga3c6090lsn4lifh3mnzmy4v6d6yqg9rfm59n19vs2")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files + #:cargo-inputs + (("rust-pest" ,rust-pest-2)) + #:cargo-development-inputs + (("rust-pest-generator" ,rust-pest-generator-2.1)))) + (home-page "https://github.com/steveklabnik/semver-parser") + (synopsis "Parsing of the Semver spec") + (description "This package provides for parsing of the Semver spec.") + (license (list license:expat license:asl2.0)))) + (define-public rust-semver-parser-0.9 (package + (inherit rust-semver-parser-0.10) (name "rust-semver-parser") (version "0.9.0") (source @@ -25262,13 +25286,7 @@ comparison.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml")))) - (build-system cargo-build-system) - (home-page "https://github.com/steveklabnik/semver-parser") - (synopsis "Parsing of the semver spec") - (description "This package provides for parsing of the semver spec.") - (license (list license:asl2.0 - license:expat)))) + "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml")))))) (define-public rust-semver-parser-0.7 (package |