mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #138857 from figsoda/fix-cargo-supply-chain
cargo-supply-chain: fix darwin build
This commit is contained in:
commit
908acc07c6
@ -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";
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user