1{ buildPythonPackage 2, fetchPypi 3, lib 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pytest-instafail"; 9 version = "0.4.2"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "10lpr6mjcinabqynj6v85bvb1xmapnhqmg50nys1r6hg7zgky9qr"; 14 }; 15 16 checkInputs = [ pytestCheckHook ]; 17 pythonImportsCheck = [ "pytest_instafail" ]; 18 meta = { 19 description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session"; 20 homepage = "https://github.com/pytest-dev/pytest-instafail"; 21 license = lib.licenses.bsd3; 22 maintainers = [ lib.maintainers.jacg ]; 23 }; 24}