diff options
Diffstat (limited to 'pkgs/development/python-modules/portalocker/default.nix')
-rw-r--r-- | pkgs/development/python-modules/portalocker/default.nix | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/portalocker/default.nix b/pkgs/development/python-modules/portalocker/default.nix index 82ac16e4027a..d79f6201b6fd 100644 --- a/pkgs/development/python-modules/portalocker/default.nix +++ b/pkgs/development/python-modules/portalocker/default.nix @@ -1,31 +1,34 @@ -{ buildPythonPackage -, fetchPypi -, lib -, fetchpatch +{ lib, buildPythonPackage, fetchPypi, fetchpatch , sphinx -, flake8 , pytest , pytestcov -, pytest-flakes -, pytestpep8 +, pytest-flake8 }: buildPythonPackage rec { - version = "1.5.2"; + version = "1.7.0"; pname = "portalocker"; src = fetchPypi { inherit pname version; - sha256 = "17rfgmgwyxyng8q7bvn369cncadqws2wgkg45q6v8337wm9jxins"; + sha256 = "1p32v16va780mjjdbyp3v702aqg5s618khlila7bdyynis1n84q9"; }; + patches = [ + # remove pytest-flakes from test dependencies + # merged into master, remove > 1.7.0 release + (fetchpatch { + url = "https://github.com/WoLpH/portalocker/commit/42e4c0a16bbc987c7e33b5cbc7676a63a164ceb5.patch"; + sha256 = "01mlr41nhh7mh3qhqy5fhp3br4nps745iy4ns9fjcnm5xhabg5rr"; + excludes = [ "pytest.ini" ]; + }) + ]; + checkInputs = [ sphinx - flake8 pytest pytestcov - pytest-flakes - pytestpep8 + pytest-flake8 ]; meta = with lib; { |