Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 37 lines 712 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, sphinx 5, flake8 6, pytest 7, pytestcov 8, pytest-flakes 9, pytestpep8 10}: 11 12buildPythonPackage rec { 13 version = "1.5.0"; 14 pname = "portalocker"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "08y5k39mn5a7n69wv0hsyjqb51lazs4i4dpxp42nla2lhllnpbyr"; 19 }; 20 21 checkInputs = [ 22 sphinx 23 flake8 24 pytest 25 pytestcov 26 pytest-flakes 27 pytestpep8 28 ]; 29 30 meta = with lib; { 31 description = "A library to provide an easy API to file locking"; 32 homepage = https://github.com/WoLpH/portalocker; 33 license = licenses.psfl; 34 maintainers = with maintainers; [ jonringer ]; 35 platforms = platforms.unix; # Windows has a dependency on pypiwin32 36 }; 37}