at master 627 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pbr, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "lockfile"; 12 version = "0.12.2"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-au0C3gPLok76vNYAswVAFAY0/AbPpgOCLVCNU2Hp95k="; 18 }; 19 20 patches = [ ./fix-tests.patch ]; 21 22 build-system = [ 23 pbr 24 setuptools 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 meta = { 30 homepage = "https://launchpad.net/pylockfile"; 31 description = "Platform-independent advisory file locking capability for Python applications"; 32 license = lib.licenses.asl20; 33 }; 34}