lol
1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-lock";
5 version = "8.0.2";
6
7 src = fetchCrate {
8 inherit pname version;
9 sha256 = "sha256-I64LXY8e8ztICS6AKfrNr/7Ntap7ESjindNWEeny6ZA=";
10 };
11
12 cargoSha256 = "sha256-Yy7KQvPeyw5YSzUmoxUJAueVzkfQqDPE1j2+L+KifpU=";
13
14 buildFeatures = [ "cli" ];
15
16 meta = with lib; {
17 description = "Self-contained Cargo.lock parser with graph analysis";
18 homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock";
19 changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md";
20 license = with licenses; [ asl20 /* or */ mit ];
21 maintainers = with maintainers; [ figsoda ];
22 };
23}