summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-02-08 10:24:54 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:41 +0200
commit12a04bf3d1f5e6da7c65442790f96eda5f496738 (patch)
treed0aa4b4e8039856d3a1c43f81b0cb3191a4799f9 /gnu
parent8b78026d423a106ffcf1a6ad6577b8e194074869 (diff)
gnu: Add rust-cargo-lock-9.
* gnu/packages/crates-io.scm (rust-cargo-lock-9): New variable. (rust-cargo-lock-8): Inherit from rust-cargo-lock-9. Change-Id: I5c6a0c5755f5cd9927984a6745c31ded9ac9fefc
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65c4c3fb55..e95e1426a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9248,8 +9248,35 @@ metadata}.")
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-cargo-lock-9
+ (package
+ (name "rust-cargo-lock")
+ (version "9.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo-lock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wmczs13psr8p9mc51w4r4pm900dbpbpipp87knlkd7gg19nf771"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8)
+ ("rust-petgraph" ,rust-petgraph-0.6)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-toml" ,rust-toml-0.7)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://rustsec.org")
+ (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis")
+ (description
+ "This package provides self-contained @file{Cargo.lock} parser with
+optional dependency graph analysis.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cargo-lock-8
(package
+ (inherit rust-cargo-lock-9)
(name "rust-cargo-lock")
(version "8.0.3")
(source (origin
@@ -9258,7 +9285,6 @@ metadata}.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "15nrkr11dnadmwvzjwn6yv8m20g3xw6yj2cayzgab2ppp3fih5q3"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gumdrop" ,rust-gumdrop-0.8)
@@ -9266,13 +9292,7 @@ metadata}.")
("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-url" ,rust-url-2))))
- (home-page "https://rustsec.org")
- (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis")
- (description
- "This package provides self-contained @file{Cargo.lock} parser with
-optional dependency graph analysis.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-url" ,rust-url-2))))))
(define-public rust-cargo-lock-7
(package