Skip to content

Commit

Permalink
python.pkgs.pathpy: improve expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Dec 20, 2018
1 parent ede54f9 commit 256deeb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/development/python-modules/path.py/default.nix
Expand Up @@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytestrunner
, pytest
, pytest-flake8
, glibcLocales
, packaging
, isPy27
Expand All @@ -14,14 +14,13 @@
buildPythonPackage rec {
pname = "path.py";
version = "11.5.0";
name = pname + "-" + version;

src = fetchPypi {
inherit pname version;
sha256 = "b6687a532a735a2d79a13e92bdb31cb0971abe936ea0fa78bcb47faf4372b3cb";
};

checkInputs = [ pytest pytestrunner glibcLocales packaging ];
checkInputs = [ pytest pytest-flake8 glibcLocales packaging ];
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
importlib-metadata
Expand All @@ -37,9 +36,7 @@ buildPythonPackage rec {
};

checkPhase = ''
# Ignore pytest configuration
rm pytest.ini
# ignore performance test which may fail when the system is under load
py.test -v -k 'not TestPerformance' test_path.py
py.test -v -k 'not TestPerformance'
'';
}

0 comments on commit 256deeb

Please sign in to comment.