3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
809 B
Nix
Raw Normal View History

2021-09-24 02:09:27 +01:00
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
2021-09-21 19:19:28 +01:00
rustPlatform.buildRustPackage rec {
pname = "cargo-supply-chain";
2022-03-20 04:28:01 +00:00
version = "0.3.1";
2021-09-21 19:19:28 +01:00
2021-09-24 02:09:27 +01:00
src = fetchCrate {
inherit pname version;
2022-03-20 04:28:01 +00:00
sha256 = "sha256-2iOAa0f0C3tS4oLrSJYjGnuoziPFxcQzXZLqENQq5PY=";
2021-09-21 19:19:28 +01:00
};
2022-03-20 04:28:01 +00:00
cargoSha256 = "sha256-7wjaakyh27U7jjQQ6wNKR4lKQ7Y/+EEfLCfjVojk3TU=";
2021-09-21 19:19:28 +01:00
2021-09-22 02:01:14 +01:00
buildInputs = lib.optional stdenv.isDarwin Security;
2021-09-21 19:19:28 +01:00
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 ];
};
}