aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-24 09:51:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:35 +0200
commitb6b276845478b0690dc4b737c882343bfb708c8a (patch)
tree93056b2c5176023b04eb284022438a6414ae98e7 /gnu
parent00d33943c9194cf557280da79b1c55d36b626c0d (diff)
downloadguix-b6b276845478b0690dc4b737c882343bfb708c8a.tar
guix-b6b276845478b0690dc4b737c882343bfb708c8a.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm49
1 files changed, 37 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03a5aaebf9..c835ca4348 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11854,20 +11854,51 @@ GNOME libsecret.")
Windows Credential Manager.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cargo-metadata-0.18
+ (package
+ (name "rust-cargo-metadata")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo_metadata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/oli-obk/cargo_metadata")
+ (synopsis "Structured access to the output of `cargo metadata`")
+ (description
+ "This package provides structured access to the output of @code{cargo
+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"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g"))))
- (build-system cargo-build-system)
+ (base32 "1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g"))))
(arguments
`(#:tests? #f ; Not all tests included.
#:cargo-inputs
@@ -11877,13 +11908,7 @@ Windows Credential Manager.")
("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-thiserror" ,rust-thiserror-1))))
- (home-page "https://github.com/oli-obk/cargo_metadata")
- (synopsis "Structured access to the output of `cargo metadata`")
- (description
- "This package provides structured access to the output of @code{cargo
-metadata}.")
- (license license:expat)))
+ ("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-cargo-metadata-0.14
(package