Skip to content

Commit

Permalink
Merge pull request #104565 from SuperSandro2000/hidapi-darwin
Browse files Browse the repository at this point in the history
pythonPackages.hidapi: Fix compilation on darwin
  • Loading branch information
prusnak committed Nov 23, 2020
2 parents 8e48857 + 348a86a commit b2885cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/hidapi/default.nix
Expand Up @@ -11,7 +11,7 @@ buildPythonPackage rec {

propagatedBuildInputs =
stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ] ++
stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit CoreFoundation IOKit ]) ++
[ cython ];

# Fix the USB backend library lookup
Expand Down

0 comments on commit b2885cb

Please sign in to comment.