diff --git a/pkgs/development/python-modules/keyrings-alt/default.nix b/pkgs/development/python-modules/keyrings-alt/default.nix index d9841776ffe1..c7ec617f4f2c 100644 --- a/pkgs/development/python-modules/keyrings-alt/default.nix +++ b/pkgs/development/python-modules/keyrings-alt/default.nix @@ -21,10 +21,16 @@ buildPythonPackage rec { checkInputs = [ pytest keyring ] ++ stdenv.lib.optional (pythonOlder "3.3") backports_unittest-mock; + # heavily relies on importing tests from keyring package + doCheck = false; checkPhase = '' py.test ''; + pythonImportsCheck = [ + "keyrings.alt" + ]; + meta = with stdenv.lib; { license = licenses.mit; description = "Alternate keyring implementations";