Merge pull request #138857 from figsoda/fix-cargo-supply-chain

cargo-supply-chain: fix darwin build
This commit is contained in:
figsoda 2021-09-21 21:40:54 -04:00 committed by GitHub
commit 908acc07c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-supply-chain";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-Mn5s6pfTHoFXtHqn6ii8PtAIBz/RJaR0zO5U5jS3UDU=";
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";

View File

@ -12476,7 +12476,9 @@ with pkgs;
cargo-readme = callPackage ../development/tools/rust/cargo-readme {};
cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain { };
cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
cargo-tally = callPackage ../development/tools/rust/cargo-tally {