depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-supply-chain/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

23 lines
809 B
Nix

{ lib, rustPlatform, fetchCrate, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-supply-chain";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-2iOAa0f0C3tS4oLrSJYjGnuoziPFxcQzXZLqENQq5PY=";
};
cargoSha256 = "sha256-7wjaakyh27U7jjQQ6wNKR4lKQ7Y/+EEfLCfjVojk3TU=";
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 ];
};
}