From b4dda635909dfee893c2aa48f120d2c8f9a74155 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 30 Dec 2017 12:58:00 +0100 Subject: [PATCH] python.pkgs.attrs: disable tests to prevent infinite recursion --- pkgs/development/python-modules/attrs/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/attrs/default.nix b/pkgs/development/python-modules/attrs/default.nix index c67ad6ece88..8ef2b5989f4 100644 --- a/pkgs/development/python-modules/attrs/default.nix +++ b/pkgs/development/python-modules/attrs/default.nix @@ -2,7 +2,6 @@ , pympler, coverage, six, clang }: buildPythonPackage rec { - name = "${pname}-${version}"; pname = "attrs"; version = "17.4.0"; @@ -12,7 +11,7 @@ buildPythonPackage rec { }; # macOS needs clang for testing - buildInputs = [ + checkInputs = [ pytest hypothesis zope_interface pympler coverage six ] ++ lib.optionals (stdenv.isDarwin) [ clang ]; @@ -20,6 +19,9 @@ buildPythonPackage rec { py.test ''; + # To prevent infinite recursion with pytest + doCheck = false; + meta = with lib; { description = "Python attributes without boilerplate"; homepage = https://github.com/hynek/attrs;