From 6481892b07167a83149a1eaff9532aef134ad3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:53:28 +0100 Subject: [PATCH] pythonPackages.backports_unittest-mock: Disable tests --- .../python-modules/backports_unittest-mock/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/backports_unittest-mock/default.nix b/pkgs/development/python-modules/backports_unittest-mock/default.nix index a55eeff511fe..b85c642787e6 100644 --- a/pkgs/development/python-modules/backports_unittest-mock/default.nix +++ b/pkgs/development/python-modules/backports_unittest-mock/default.nix @@ -13,9 +13,14 @@ buildPythonPackage rec { buildInputs = [ setuptools_scm ]; + # does not contain tests + doCheck = false; + pythonImportsCheck = [ "backports.unittest_mock" ]; + meta = with stdenv.lib; { description = "Provides a function install() which makes the mock module"; homepage = "https://github.com/jaraco/backports.unittest_mock"; license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; }; }