1 { lib, buildPythonPackage, fetchPypi, fetchpatch
8 buildPythonPackage rec {
10 pname = "portalocker";
13 inherit pname version;
14 sha256 = "1p32v16va780mjjdbyp3v702aqg5s618khlila7bdyynis1n84q9";
18 # remove pytest-flakes from test dependencies
19 # merged into master, remove > 1.7.0 release
21 url = "https://github.com/WoLpH/portalocker/commit/42e4c0a16bbc987c7e33b5cbc7676a63a164ceb5.patch";
22 sha256 = "01mlr41nhh7mh3qhqy5fhp3br4nps745iy4ns9fjcnm5xhabg5rr";
23 excludes = [ "pytest.ini" ];
35 description = "A library to provide an easy API to file locking";
36 homepage = "https://github.com/WoLpH/portalocker";
37 license = licenses.psfl;
38 maintainers = with maintainers; [ jonringer ];
39 platforms = platforms.unix; # Windows has a dependency on pypiwin32