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
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, libusb1
|
, libusb1
|
||||||
, openssl
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustfmt
|
, rustfmt
|
||||||
, Security
|
|
||||||
, AppKit
|
, AppKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -24,7 +22,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoSha256 = "sha256-f5vUMdyz3vDh2yE0pMKZiknsqTAKkuvTCtlgb6/gaLc=";
|
cargoSha256 = "sha256-f5vUMdyz3vDh2yE0pMKZiknsqTAKkuvTCtlgb6/gaLc=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config rustfmt ];
|
nativeBuildInputs = [ pkg-config rustfmt ];
|
||||||
buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.isDarwin [ Security AppKit ];
|
buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cargo extension for working with microcontrollers";
|
description = "A cargo extension for working with microcontrollers";
|
||||||
|
|
|
@ -12632,7 +12632,7 @@ with pkgs;
|
||||||
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
||||||
cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
|
cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
|
||||||
cargo-flash = callPackage ../development/tools/rust/cargo-flash {
|
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 {
|
cargo-fund = callPackage ../development/tools/rust/cargo-fund {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Reference in a new issue