Files
nixpkgs/pkgs/by-name/ca/cargo-vet/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
872 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-vet";
version = "0.10.1";
src = fetchFromGitHub {
owner = "mozilla";
repo = "cargo-vet";
tag = "v${finalAttrs.version}";
hash = "sha256-HSEhFCcdC79OA8MP73De+iLIjcr1XMHxfJ9a1Q3JJYI=";
};
cargoHash = "sha256-+X6DLxWPWMcGzJMVZAj3C5P5MyywIb4ml0Jsyo9/uAE=";
# the test_project tests require internet access
checkFlags = [ "--skip=test_project" ];
meta = {
description = "Tool to help projects ensure that third-party Rust dependencies have been audited by a trusted source";
mainProgram = "cargo-vet";
homepage = "https://mozilla.github.io/cargo-vet";
license = with lib.licenses; [
asl20 # or
mit
];
maintainers = with lib.maintainers; [
figsoda
jk
matthiasbeyer
];
};
})