Merge pull request #92802 from misuzu/rednose-macos
pythonPackages.rednose: fix build on macOS
This commit is contained in:
commit
178de8429d
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, nose, six, colorama, termstyle }:
|
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
||||||
|
, nose, six, colorama, termstyle }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rednose";
|
pname = "rednose";
|
||||||
@ -15,7 +16,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# Do not test on Python 2 because the tests suite gets stuck
|
# Do not test on Python 2 because the tests suite gets stuck
|
||||||
# https://github.com/NixOS/nixpkgs/issues/60786
|
# 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 ];
|
checkInputs = [ six ];
|
||||||
propagatedBuildInputs = [ nose colorama termstyle ];
|
propagatedBuildInputs = [ nose colorama termstyle ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user