1 { lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-VnOqQ1dKgNZSHTzJrD7stoCzNGrSkYxcLDJAsrJUsEQ=";
14 cargoSha256 = "sha256-M8sZzgSEMIB6pPVaE+tC18MCbwYaYpHOnhrEvm9JTso=";
16 buildInputs = lib.optional stdenv.isDarwin Security;
18 # the test_project tests require internet access
24 description = "A tool to help projects ensure that third-party Rust dependencies have been audited by a trusted source";
25 mainProgram = "cargo-vet";
26 homepage = "https://mozilla.github.io/cargo-vet";
27 license = with licenses; [ asl20 /* or */ mit ];
28 maintainers = with maintainers; [ figsoda jk ];