pythonPackages.rednose: fix build on macOS
This commit is contained in:
parent
dc80d7bc4a
commit
8003ec876a
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, nose, six, colorama, termstyle }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
||||
, nose, six, colorama, termstyle }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rednose";
|
||||
|
@ -15,7 +16,8 @@ buildPythonPackage rec {
|
|||
|
||||
# Do not test on Python 2 because the tests suite gets stuck
|
||||
# https://github.com/NixOS/nixpkgs/issues/60786
|
||||
doCheck = !(isPy27);
|
||||
# Also macOS tests are broken on python38
|
||||
doCheck = !(isPy27 || (stdenv.isDarwin && pythonAtLeast "3.8"));
|
||||
|
||||
checkInputs = [ six ];
|
||||
propagatedBuildInputs = [ nose colorama termstyle ];
|
||||
|
|
Loading…
Reference in a new issue