cargo-flash: remove unused buildInputs
This commit is contained in:
parent
615989e078
commit
d9444d960a
2 changed files with 2 additions and 4 deletions
|
@ -3,10 +3,8 @@
|
|||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, libusb1
|
||||
, openssl
|
||||
, pkg-config
|
||||
, rustfmt
|
||||
, Security
|
||||
, AppKit
|
||||
}:
|
||||
|
||||
|
@ -24,7 +22,7 @@ rustPlatform.buildRustPackage rec {
|
|||
cargoSha256 = "sha256-f5vUMdyz3vDh2yE0pMKZiknsqTAKkuvTCtlgb6/gaLc=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config rustfmt ];
|
||||
buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.isDarwin [ Security AppKit ];
|
||||
buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo extension for working with microcontrollers";
|
||||
|
|
|
@ -12632,7 +12632,7 @@ with pkgs;
|
|||
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
||||
cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
|
||||
cargo-flash = callPackage ../development/tools/rust/cargo-flash {
|
||||
inherit (darwin.apple_sdk.frameworks) Security AppKit;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
cargo-fund = callPackage ../development/tools/rust/cargo-fund {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue