python3Packages.primer3: fix build on darwin
(the build requires gcc)
This commit is contained in:
parent
07cc794f57
commit
3348c45a04
@ -1,7 +1,9 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cython
|
, cython
|
||||||
|
, gcc
|
||||||
, click
|
, click
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -16,7 +18,8 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1glybwp9w2m1ydvaphr41gj31d8fvlh40s35galfbjqa563si72g";
|
sha256 = "1glybwp9w2m1ydvaphr41gj31d8fvlh40s35galfbjqa563si72g";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [ cython ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ gcc ];
|
||||||
|
|
||||||
# pytestCheckHook leads to a circular import issue
|
# pytestCheckHook leads to a circular import issue
|
||||||
checkInputs = [ click ];
|
checkInputs = [ click ];
|
||||||
|
Loading…
Reference in New Issue
Block a user