From 12a04bf3d1f5e6da7c65442790f96eda5f496738 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 8 Feb 2024 10:24:54 +0200 Subject: 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 --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3