diff options
author | Artturin <Artturin@artturin.com> | 2021-06-29 01:43:42 +0300 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-06-29 19:56:45 -0700 |
commit | 10a8e8fe8b4d674c60ef1b5e5bbdb2cc410fbc8c (patch) | |
tree | 8c3ca61d0583705dab3d52368ec1b671338b3d07 /pkgs/development | |
parent | 13a12fe9e54a470871031b79508c736293ccb6d9 (diff) |
python3Packages.portalocker: 1.7.0 -> 2.3.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/portalocker/default.nix | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/portalocker/default.nix b/pkgs/development/python-modules/portalocker/default.nix index d79f6201b6fd6..7b4fc177bc11c 100644 --- a/pkgs/development/python-modules/portalocker/default.nix +++ b/pkgs/development/python-modules/portalocker/default.nix @@ -1,34 +1,27 @@ -{ lib, buildPythonPackage, fetchPypi, fetchpatch -, sphinx -, pytest +{ lib, buildPythonPackage, fetchPypi +, pytestCheckHook , pytestcov , pytest-flake8 +, pytest-mypy +, redis }: buildPythonPackage rec { - version = "1.7.0"; + version = "2.3.0"; pname = "portalocker"; src = fetchPypi { inherit pname version; - sha256 = "1p32v16va780mjjdbyp3v702aqg5s618khlila7bdyynis1n84q9"; + sha256 = "0k08c0qg21mwz3iqbd20ab22nq705q7cal4a1qr8qnd6ga03v4af"; }; - 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" ]; - }) + propagatedBuildInputs = [ + redis ]; checkInputs = [ - sphinx - pytest - pytestcov - pytest-flake8 + pytestCheckHook + pytest-mypy ]; meta = with lib; { |