Merge pull request #141431 from newAM/cargo-flash

cargo-flash: remove unused buildInputs
This commit is contained in:
figsoda 2021-10-15 23:24:40 -04:00 committed by GitHub
commit c72c3b6b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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";

View File

@ -12642,7 +12642,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;