1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 pytest,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-check";
12 version = "2.5.4";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "pytest_check";
17 inherit version;
18 hash = "sha256-M9h+KNXkkhf0Eyd+Hg0mfNZskKhaIIlExEMSycjk/3Q=";
19 };
20
21 build-system = [ hatchling ];
22
23 buildInputs = [ pytest ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 pythonImportsCheck = [ "pytest_check" ];
28
29 meta = with lib; {
30 description = "Pytest plugin allowing multiple failures per test";
31 homepage = "https://github.com/okken/pytest-check";
32 changelog = "https://github.com/okken/pytest-check/releases/tag/${version}";
33 license = licenses.mit;
34 maintainers = with maintainers; [ flokli ];
35 };
36}