diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 15:28:58 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 17:39:25 +0100 |
commit | 42acc9582d969d7c6d7b7d21beb0aae1da466880 (patch) | |
tree | 13bb86d84767dcd78cd4313c7bb07188120025c7 | |
parent | 162ee32dd4791c835a31038219a0dc80112abeb0 (diff) | |
download | guix-42acc9582d969d7c6d7b7d21beb0aae1da466880.tar.gz |
gnu: Add rust-semver-0.11.
* gnu/packages/crates-io.scm (rust-semver-0.11): New variable. (rust-semver-0.10): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2033117b69..24acde34e9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25193,8 +25193,32 @@ macOS and iOS.") (description "Rust semaphore library.") (license license:expat))) +(define-public rust-semver-0.11 + (package + (name "rust-semver") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dn6064fipjymnmjccyjhb70miyvqvp08gvw1wbg8vbg4c8ay0gk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-diesel" ,rust-diesel-1) + ("rust-semver-parser" ,rust-semver-parser-0.10) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://docs.rs/crate/semver/") + (synopsis "Semantic version parsing and comparison") + (description + "This package provides semantic version parsing and comparison.") + (license (list license:expat license:asl2.0)))) + (define-public rust-semver-0.10 (package + (inherit rust-semver-0.11) (name "rust-semver") (version "0.10.0") (source @@ -25203,9 +25227,7 @@ macOS and iOS.") (uri (crate-uri "semver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r")))) - (build-system cargo-build-system) + (base32 "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r")))) (arguments `(#:cargo-inputs (("rust-diesel" ,rust-diesel-1) @@ -25213,12 +25235,7 @@ macOS and iOS.") ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://docs.rs/crate/semver/") - (synopsis "Semantic version parsing and comparison") - (description "This package provides semantic version parsing and -comparison.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-semver-0.9 (package |