cargo-supply-chain: fix darwin build

This commit is contained in:
figsoda
2021-09-21 21:01:14 -04:00
parent 377600cefd
commit 2c1fc1165e
2 changed files with 6 additions and 2 deletions
@@ -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";
+3 -1
View File
@@ -12474,7 +12474,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 {