2022-10-06 18:32:54 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-lock";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "9.0.0";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-SMxM66qo3Xmst+SVXu4LYZ0Zzn15wqVVNqqHzAkip/s=";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoHash = "sha256-wUp4zBY64MvD4anGlVsJrI3pyfwVSQGnn6YuweTeYNk=";
|
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 ];
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
}
|