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";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.3.1";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-2iOAa0f0C3tS4oLrSJYjGnuoziPFxcQzXZLqENQq5PY=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
cargoSha256 = "sha256-7wjaakyh27U7jjQQ6wNKR4lKQ7Y/+EEfLCfjVojk3TU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|