1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "setproctitle"; 12 version = "1.3.6"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-yfMrlscAuzhPM/fPB5VLtgnTXdgnUs71f7LuCWhAkWk="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 # tries to compile programs with dependencies that aren't available 27 disabledTestPaths = [ "tests/setproctitle_test.py" ]; 28 29 meta = with lib; { 30 description = "Allows a process to change its title (as displayed by system tools such as ps and top)"; 31 homepage = "https://github.com/dvarrazzo/py-setproctitle"; 32 license = licenses.bsdOriginal; 33 maintainers = with maintainers; [ exi ]; 34 }; 35}