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