1{ lib 2, buildPythonPackage 3, fetchPypi 4, psutil 5}: 6 7buildPythonPackage rec { 8 pname = "python-pidfile"; 9 version = "3.1.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-pgQBL2iagsHMRFEKI85ZwyaIL7kcIftAy6s+lX958M0="; 14 }; 15 16 propagatedBuildInputs = [ 17 psutil 18 ]; 19 20 pythonImportsCheck = [ "pidfile" ]; 21 22 # no tests on the github mirror of the source code 23 # see this: https://github.com/mosquito/python-pidfile/issues/7 24 doCheck = false; 25 26 meta = with lib; { 27 description = "Python context manager for managing pid files"; 28 homepage = "https://github.com/mosquito/python-pidfile"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ lom ]; 31 }; 32}