1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-error-for-skips"; 11 version = "2.0.2"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "jankatins"; 16 repo = "pytest-error-for-skips"; 17 rev = version; 18 sha256 = "04i4jd3bg4lgn2jfh0a0dzg3ml9b2bjv2ndia6b64w96r3r4p3qr"; 19 }; 20 21 buildInputs = [ pytest ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "pytest_error_for_skips" ]; 26 27 meta = with lib; { 28 description = "Pytest plugin to treat skipped tests a test failures"; 29 homepage = "https://github.com/jankatins/pytest-error-for-skips"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}