1{ lib 2, buildPythonPackage 3, fetchPypi 4, psutil 5, pythonOlder 6, typing-extensions 7}: 8 9buildPythonPackage rec { 10 pname = "pynisher"; 11 version = "1.0.9"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-hlN5uUlgmcipQqmr22rB245oEXOUe5WB9jWo7MXXViE="; 19 }; 20 21 propagatedBuildInputs = [ 22 psutil 23 typing-extensions 24 ]; 25 26 # No tests in the Pypi archive 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "pynisher" 31 ]; 32 33 meta = with lib; { 34 description = "Module intended to limit a functions resources"; 35 homepage = "https://github.com/automl/pynisher"; 36 changelog = "https://github.com/automl/pynisher/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ psyanticy ]; 39 }; 40}