From 4ee94fb9489fe48bd7d3be43ed627829f3bfb841 Mon Sep 17 00:00:00 2001 From: Yevhen Shymotyuk Date: Mon, 24 Aug 2020 05:12:37 +0300 Subject: [PATCH] Substitute checkInputs with pythonImportsCheck --- pkgs/development/python-modules/userpath/default.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/userpath/default.nix b/pkgs/development/python-modules/userpath/default.nix index 19171dc7a3b..e9653a4b2a8 100644 --- a/pkgs/development/python-modules/userpath/default.nix +++ b/pkgs/development/python-modules/userpath/default.nix @@ -3,9 +3,6 @@ , fetchPypi , click , distro -, tox -, pytest -, coverage }: buildPythonPackage rec { @@ -19,15 +16,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ click distro ]; - checkInputs = [ tox pytest coverage ]; - - # We should skip tox dependencies installation to run tests but - # tox doesn't have such an option yet (https://github.com/tox-dev/tox/issues/410) doCheck = false; - checkPhase = '' - tox - ''; + pythonImportsCheck = [ "click" "userpath" ]; meta = with lib; { description = "Cross-platform tool for adding locations to the user PATH";