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