diff options
author | phodina <phodina@protonmail.com> | 2021-09-04 07:37:58 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-22 16:57:50 +0200 |
commit | 8fc86858e50a7d0bfd2e59efcdebade3b06cf2bb (patch) | |
tree | d29419cb9ef7ca1257b3e9ac0322d9a7d0e289b3 | |
parent | 9af3873e10326ac0c232607f3d5a5ab7c52ed829 (diff) |
gnu: Add rust-semver-1.
* gnu/packages/crates-io.scm (rust-semver-1): New variable.
(rust-semver-0.11): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 45f849811d..2cd3754f32 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42824,8 +42824,31 @@ macOS and iOS.") (description "Rust semaphore library.") (license license:expat))) +(define-public rust-semver-1 + (package + (name "rust-semver") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gna1p10i86sf1pqfqndkwl0wks35x84yvjw77c74ckzxrbsqfjz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("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.11 (package + (inherit rust-semver-1) (name "rust-semver") (version "0.11.0") (source @@ -42835,17 +42858,11 @@ macOS and iOS.") (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)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-semver-0.10 (package |