python3Packages.primer3: fix build on darwin

(the build requires gcc)
This commit is contained in:
Pavol Rusnak 2021-02-05 13:49:07 +01:00
parent 07cc794f57
commit 3348c45a04
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -1,7 +1,9 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, cython
, gcc
, click
}:
@ -16,7 +18,8 @@ buildPythonPackage rec {
sha256 = "1glybwp9w2m1ydvaphr41gj31d8fvlh40s35galfbjqa563si72g";
};
nativeBuildInputs = [ cython ];
nativeBuildInputs = [ cython ]
++ lib.optionals stdenv.isDarwin [ gcc ];
# pytestCheckHook leads to a circular import issue
checkInputs = [ click ];