Merge pull request #112026 from prusnak/primer3

python3Packages.primer3: fix build on darwin
This commit is contained in:
Sandro
2021-02-05 16:35:16 +01:00
committed by GitHub
@@ -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 ];