1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonAtLeast, 6}: 7 8buildPythonPackage rec { 9 pname = "crashtest"; 10 version = "0.4.1"; 11 format = "setuptools"; 12 disabled = !(pythonAtLeast "3.6"); 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-gNex8xbr+9Qp9kgHbWJ1yHe6MLpIl53kGRcUp1Jm8M4="; 17 }; 18 19 # has tests, but only on GitHub, however the pyproject build fails for me 20 pythonImportsCheck = [ 21 "crashtest.frame" 22 "crashtest.inspector" 23 ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/sdispater/crashtest"; 27 description = "Manage Python errors with ease"; 28 license = licenses.mit; 29 maintainers = [ ]; 30 }; 31}