python3Packages.portalocker: 1.7.0 -> 2.3.0
This commit is contained in:
parent
13a12fe9e5
commit
10a8e8fe8b
1 changed files with 10 additions and 17 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue