1{ lib 2, buildPythonPackage 3, fetchPypi 4, toml 5}: 6 7buildPythonPackage rec { 8 pname = "confight"; 9 version = "1.3.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-fJr7f9Y/zEpCedWYd04AMuhkOFqZLJOw4sDiz8SDQ/Y="; 14 }; 15 16 propagatedBuildInputs = [ 17 toml 18 ]; 19 20 pythonImportsCheck = [ "confight" ]; 21 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Python context manager for managing pid files"; 26 homepage = "https://github.com/avature/confight"; 27 license = with licenses; [ mit ]; 28 maintainers = with maintainers; [ mkg20001 ]; 29 }; 30}