me
/
guix
Archived
1
0
Fork 0

gnu: rust-cargo-metadata-0.15: Downgrade to 0.15.4.

Later versions of this crate were yanked by upstream.

* gnu/packages/crates-io.scm (rust-cargo-metadata-0.15): Downgrade to
0.15.4.
[arguments]: Don't skip the tests.  Add cargo-test-flags.
[cargo-inputs]: Replace rust-derive-builder-0.12 with 0.11.

Change-Id: I2acb1e5bf5d592179f04e417e2ea29fc115c0dbd
master
Efraim Flashner 2024-01-22 20:55:35 +02:00
parent 2dc5071485
commit 69e3b27362
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 4 deletions

View File

@ -9358,20 +9358,26 @@ metadata}.")
(package (package
(inherit rust-cargo-metadata-0.18) (inherit rust-cargo-metadata-0.18)
(name "rust-cargo-metadata") (name "rust-cargo-metadata")
(version "0.15.5") (version "0.15.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "cargo_metadata" version)) (uri (crate-uri "cargo_metadata" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g")))) (base32 "0fm767r349p5rh50k21g8w2hpcg2970kjx0ff517mz163wzj9r7f"))))
(arguments (arguments
`(#:tests? #f ; Not all tests included. `(#:cargo-test-flags
'("--release" "--"
;; Not all files included.
"--skip=advanced_feature_configuration"
"--skip=all_the_fields"
"--skip=basic_workspace_root_package_exists"
"--skip=current_dir")
#:cargo-inputs #:cargo-inputs
(("rust-camino" ,rust-camino-1) (("rust-camino" ,rust-camino-1)
("rust-cargo-platform" ,rust-cargo-platform-0.1) ("rust-cargo-platform" ,rust-cargo-platform-0.1)
("rust-derive-builder" ,rust-derive-builder-0.12) ("rust-derive-builder" ,rust-derive-builder-0.11)
("rust-semver" ,rust-semver-1) ("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1) ("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1) ("rust-serde-json" ,rust-serde-json-1)