{ lib, buildPythonPackage, fetchPypi, hatchling, pytest, pytestCheckHook, }: buildPythonPackage rec { pname = "pytest-check"; version = "2.6.2"; pyproject = true; src = fetchPypi { pname = "pytest_check"; inherit version; hash = "sha256-XiEoQFsUl4rXTyHzIl/MUruxzHxBpV1eqtnx480n5C4="; }; build-system = [ hatchling ]; buildInputs = [ pytest ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pytest_check" ]; meta = { description = "Pytest plugin allowing multiple failures per test"; homepage = "https://github.com/okken/pytest-check"; changelog = "https://github.com/okken/pytest-check/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ flokli ]; }; }