2021-09-26 12:46:18 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-supply-chain";
|
2021-09-26 12:46:18 +00:00
|
|
|
version = "0.2.0";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-zjDZJOUjnEQ03rmo5CdSY1emE6YohOPlf7SKuvNLuV0=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
cargoSha256 = "sha256-xSJ5rx8k+my0NeGYHZyvDzbM7uMdbViT7Ou9a9JACfs=";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|