diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix new file mode 100644 index 000000000000..d5876f240a93 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchCrate, stdenv, Security }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-supply-chain"; + version = "0.2.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-zjDZJOUjnEQ03rmo5CdSY1emE6YohOPlf7SKuvNLuV0="; + }; + + cargoSha256 = "sha256-xSJ5rx8k+my0NeGYHZyvDzbM7uMdbViT7Ou9a9JACfs="; + + buildInputs = lib.optional stdenv.isDarwin Security; + + meta = with lib; { + description = "Gather author, contributor and publisher data on crates in your dependency graph"; + homepage = "https://github.com/rust-secure-code/cargo-supply-chain"; + changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/master/CHANGELOG.md"; + license = with licenses; [ asl20 mit zlib ]; # any of three + maintainers = with maintainers; [ figsoda ]; + }; +} |