python.pkgs.attrs: disable tests to prevent infinite recursion
This commit is contained in:
parent
e21ac0ceae
commit
b4dda63590
@ -2,7 +2,6 @@
|
|||||||
, pympler, coverage, six, clang }:
|
, pympler, coverage, six, clang }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "attrs";
|
pname = "attrs";
|
||||||
version = "17.4.0";
|
version = "17.4.0";
|
||||||
|
|
||||||
@ -12,7 +11,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# macOS needs clang for testing
|
# macOS needs clang for testing
|
||||||
buildInputs = [
|
checkInputs = [
|
||||||
pytest hypothesis zope_interface pympler coverage six
|
pytest hypothesis zope_interface pympler coverage six
|
||||||
] ++ lib.optionals (stdenv.isDarwin) [ clang ];
|
] ++ lib.optionals (stdenv.isDarwin) [ clang ];
|
||||||
|
|
||||||
@ -20,6 +19,9 @@ buildPythonPackage rec {
|
|||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# To prevent infinite recursion with pytest
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python attributes without boilerplate";
|
description = "Python attributes without boilerplate";
|
||||||
homepage = https://github.com/hynek/attrs;
|
homepage = https://github.com/hynek/attrs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user