Skip to content

Commit

Permalink
Substitute checkInputs with pythonImportsCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Shymotyuk authored and Jon committed Aug 24, 2020
1 parent 7becd9b commit 4ee94fb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pkgs/development/python-modules/userpath/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
, fetchPypi
, click
, distro
, tox
, pytest
, coverage
}:

buildPythonPackage rec {
Expand All @@ -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";
Expand Down

0 comments on commit 4ee94fb

Please sign in to comment.