python3Packages.pystatgrab: fix build on darwin
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
@@ -8,6 +9,7 @@
|
||||
, setuptools
|
||||
, unittestCheckHook
|
||||
, wheel
|
||||
, darwin
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -33,7 +35,9 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
libstatgrab
|
||||
];
|
||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
IOKit
|
||||
]);
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
|
||||
Reference in New Issue
Block a user