diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 15:58:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 17:40:43 +0300 |
commit | 4a3736748ce4c73a0bb84ad7e6716eaab2f409c4 (patch) | |
tree | 95cbf12cad4faf208a873d8c4a19a9445c05ab6f | |
parent | f030f66daaebbb53a1a5fe51039a0f722082778a (diff) |
gnu: Add rust-cargo-metadata-0.15.
* gnu/packages/crates-io.scm (rust-cargo-metadata-0.15): New variable.
(rust-cargo-metadata-0.14): Inherit from rust-cargo-metadata-0.15.
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 22aa4ee312..b4dbdc40f7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9344,10 +9344,10 @@ capabilities.") the library crate of Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-metadata-0.14 +(define-public rust-cargo-metadata-0.15 (package (name "rust-cargo-metadata") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) @@ -9356,14 +9356,21 @@ the library crate of Cargo.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams")))) + "0dpcddizs4zhbvbsv3kxx9p0qppidxh05jz7dlf45f5rsm9pbfrs")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Allow older versions of the serde crates. + (substitute* "Cargo.toml" + (("1.0.136") "1.0.133") + (("1.0.79") "1.0.74")))))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Not all tests included. #:cargo-inputs (("rust-camino" ,rust-camino-1) ("rust-cargo-platform" ,rust-cargo-platform-0.1) - ("rust-derive-builder" ,rust-derive-builder-0.9) + ("rust-derive-builder" ,rust-derive-builder-0.11) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))) @@ -9374,6 +9381,30 @@ the library crate of Cargo.") metadata}.") (license license:expat))) +(define-public rust-cargo-metadata-0.14 + (package + (inherit rust-cargo-metadata-0.15) + (name "rust-cargo-metadata") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-metadata" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-camino" ,rust-camino-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-derive-builder" ,rust-derive-builder-0.9) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-cargo-metadata-0.13 (package (inherit rust-cargo-metadata-0.14) |