2022-10-06 18:32:54 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-lock";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "8.0.3";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-Xh39gaiTC3g1FHVWqUr8PR/MzeoRaGlCmGZZZnHB4Kc=";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
cargoSha256 = "sha256-gf9KDzGKjZt4p5ldZShH4lOwrieJeI2WJQ8hU4hhGJE=";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Self-contained Cargo.lock parser with graph analysis";
|
|
|
|
homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock";
|
|
|
|
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md";
|
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|