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
commit fb2e6ba5c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];