1{ lib
2, buildPythonPackage
3, fetchPypi
4, flit-core
5, pytest
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-check";
11 version = "2.2.2";
12 format = "pyproject";
13
14 src = fetchPypi {
15 pname = "pytest_check";
16 inherit version;
17 hash = "sha256-eufpnpDxJ9PQLSnAKostlbWofbPTDczRaen9ZsRP2+g=";
18 };
19
20 nativeBuildInputs = [
21 flit-core
22 ];
23
24 propagatedBuildInputs = [
25 pytest
26 ];
27
28 nativeCheckInputs = [
29 pytestCheckHook
30 ];
31
32 meta = with lib; {
33 description = "pytest plugin allowing multiple failures per test";
34 homepage = "https://github.com/okken/pytest-check";
35 license = licenses.mit;
36 maintainers = [ maintainers.flokli ];
37 };
38}