Merge pull request #200322 from viraptor/libftdi-darwin
This commit is contained in:
commit
ff639fcd13
@ -1,4 +1,11 @@
|
||||
{lib, stdenv, fetchurl, libusb-compat-0_1}:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, libusb-compat-0_1
|
||||
, Security
|
||||
, IOKit
|
||||
, libobjc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libftdi";
|
||||
@ -9,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb-compat-0_1 ];
|
||||
buildInputs = [ libusb-compat-0_1 ] ++ lib.optionals stdenv.isDarwin [ libobjc Security IOKit ];
|
||||
|
||||
propagatedBuildInputs = [ libusb-compat-0_1 ];
|
||||
|
||||
|
@ -20277,7 +20277,10 @@ with pkgs;
|
||||
inherit (darwin) libobjc;
|
||||
};
|
||||
|
||||
libftdi = callPackage ../development/libraries/libftdi { };
|
||||
libftdi = callPackage ../development/libraries/libftdi {
|
||||
inherit (darwin) libobjc;
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit Security;
|
||||
};
|
||||
|
||||
libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user