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