Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-23.05 38 lines 776 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, hatch-vcs 5, hatchling 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "filelock"; 12 version = "3.9.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-ezGfJDQLUfVaK/ehKsB1WpsD5xgxHaxWeg9Pf6vS9d4="; 20 }; 21 22 nativeBuildInputs = [ 23 hatch-vcs 24 hatchling 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 meta = with lib; { 32 changelog = "https://github.com/tox-dev/py-filelock/releases/tag/${version}"; 33 description = "A platform independent file lock for Python"; 34 homepage = "https://github.com/benediktschmitt/py-filelock"; 35 license = licenses.unlicense; 36 maintainers = with maintainers; [ hyphon81 ]; 37 }; 38}