python3Packges.portalocker: 1.5.2 -> 1.7.0

This commit is contained in:
Jonathan Ringer 2020-05-10 10:47:08 -07:00 committed by Frederik Rietdijk
parent b63889fd1c
commit 8db3e9207d

View File

@ -1,31 +1,34 @@
{ buildPythonPackage { lib, buildPythonPackage, fetchPypi, fetchpatch
, fetchPypi
, lib
, fetchpatch
, sphinx , sphinx
, flake8
, pytest , pytest
, pytestcov , pytestcov
, pytest-flakes , pytest-flake8
, pytestpep8
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.5.2"; version = "1.7.0";
pname = "portalocker"; pname = "portalocker";
src = fetchPypi { src = fetchPypi {
inherit pname version; 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 = [ checkInputs = [
sphinx sphinx
flake8
pytest pytest
pytestcov pytestcov
pytest-flakes pytest-flake8
pytestpep8
]; ];
meta = with lib; { meta = with lib; {