Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
802 B
Nix
35 lines
802 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-lock";
|
|
version = "10.0.1";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-Ui/Z4syhSxemV1R815R+yytDwN2YJBcHGscUYUp/0zE=";
|
|
};
|
|
|
|
cargoHash = "sha256-WdIKTTP5Z+rSq97BSdsx9Hqc46jEF0XjgeZ23BDSeRk=";
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
meta = {
|
|
description = "Self-contained Cargo.lock parser with graph analysis";
|
|
mainProgram = "cargo-lock";
|
|
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 lib.licenses; [
|
|
asl20 # or
|
|
mit
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
figsoda
|
|
matthiasbeyer
|
|
];
|
|
};
|
|
}
|