gnu: Add rust-cargo-metadata-0.18.

* gnu/packages/crates-io.scm (rust-cargo-metadata-0.18): New variable.
(rust-cargo-metadata-0.15): Inherit from rust-cargo-metadata-0.18.

Change-Id: Ia46872b00103566c247f17ba9fcc6ed7863102f5
This commit is contained in:
Efraim Flashner 2023-12-24 09:51:27 +02:00
parent 00d33943c9
commit b6b2768454
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -11854,24 +11854,26 @@ (define-public rust-cargo-credential-wincred-0.3
Windows Credential Manager.")
(license (list license:expat license:asl2.0))))
(define-public rust-cargo-metadata-0.15
(define-public rust-cargo-metadata-0.18
(package
(name "rust-cargo-metadata")
(version "0.15.5")
(version "0.18.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "cargo_metadata" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g"))))
(base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all tests included.
#:cargo-inputs
(("rust-camino" ,rust-camino-1)
`(#:cargo-test-flags
'("--release" "--"
"--skip=advanced_feature_configuration"
"--skip=all_the_fields"
"--skip=basic_workspace_root_package_exists"
"--skip=current_dir")
#:cargo-inputs (("rust-camino" ,rust-camino-1)
("rust-cargo-platform" ,rust-cargo-platform-0.1)
("rust-derive-builder" ,rust-derive-builder-0.12)
("rust-semver" ,rust-semver-1)
@ -11885,6 +11887,29 @@ (define-public rust-cargo-metadata-0.15
metadata}.")
(license license:expat)))
(define-public rust-cargo-metadata-0.15
(package
(inherit rust-cargo-metadata-0.18)
(name "rust-cargo-metadata")
(version "0.15.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "cargo_metadata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g"))))
(arguments
`(#: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.12)
("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-cargo-metadata-0.14
(package
(inherit rust-cargo-metadata-0.15)