aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-01-12 23:27:43 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:11:56 +0100
commitfe03f9325242fb82a15e271d138083b1d893fb0a (patch)
treec19395b7606cf6b7621a2d9a6f8acf8fc225e571
parentd3e14c7724e2c3f37a970dedb423b5f2a7501f1f (diff)
downloadguix-fe03f9325242fb82a15e271d138083b1d893fb0a.tar
guix-fe03f9325242fb82a15e271d138083b1d893fb0a.tar.gz
gnu: Add rust-cargo-metadata-0.14.
* gnu/packages/crates-io.scm (rust-cargo-metadata-0.14): New variable. (rust-cargo-metadata-0.13): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 30 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aecd9d3c82..76e7435b3e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8762,10 +8762,10 @@ capabilities.")
the library crate of Cargo.")
(license (list license:expat license:asl2.0))))
-(define-public rust-cargo-metadata-0.13
+(define-public rust-cargo-metadata-0.14
(package
(name "rust-cargo-metadata")
- (version "0.13.0")
+ (version "0.14.1")
(source
(origin
(method url-fetch)
@@ -8774,7 +8774,7 @@ the library crate of Cargo.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+ "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -8782,8 +8782,7 @@ the library crate of Cargo.")
(("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-0.11)
- ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://github.com/oli-obk/cargo_metadata")
@@ -8793,6 +8792,32 @@ the library crate of Cargo.")
metadata}.")
(license license:expat)))
+(define-public rust-cargo-metadata-0.13
+ (package
+ (inherit rust-cargo-metadata-0.14)
+ (name "rust-cargo-metadata")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo-metadata" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+ (build-system cargo-build-system)
+ (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-0.11)
+ ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-cargo-metadata-0.9
(package
(inherit rust-cargo-metadata-0.13)