python3Packages.portalocker: 1.7.0 -> 2.3.0
This commit is contained in:
parent
13a12fe9e5
commit
10a8e8fe8b
@ -1,34 +1,27 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, fetchpatch
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, sphinx
|
, pytestCheckHook
|
||||||
, pytest
|
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytest-flake8
|
, pytest-flake8
|
||||||
|
, pytest-mypy
|
||||||
|
, redis
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.7.0";
|
version = "2.3.0";
|
||||||
pname = "portalocker";
|
pname = "portalocker";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1p32v16va780mjjdbyp3v702aqg5s618khlila7bdyynis1n84q9";
|
sha256 = "0k08c0qg21mwz3iqbd20ab22nq705q7cal4a1qr8qnd6ga03v4af";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
propagatedBuildInputs = [
|
||||||
# remove pytest-flakes from test dependencies
|
redis
|
||||||
# merged into master, remove > 1.7.0 release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/WoLpH/portalocker/commit/42e4c0a16bbc987c7e33b5cbc7676a63a164ceb5.patch";
|
|
||||||
sha256 = "01mlr41nhh7mh3qhqy5fhp3br4nps745iy4ns9fjcnm5xhabg5rr";
|
|
||||||
excludes = [ "pytest.ini" ];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
sphinx
|
pytestCheckHook
|
||||||
pytest
|
pytest-mypy
|
||||||
pytestcov
|
|
||||||
pytest-flake8
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user