summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-check/default.nix
blob: f91b8191eb1535cc758871712ada373bb5d014d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pytest-check";
  version = "0.3.5";

  src = fetchFromGitHub {
    owner = "okken";
    repo = "pytest-check";
    rev = version;
    sha256 = "11wb4f4sp4cr5mzqdakrbycwgfr2p1sx1l91fa6525wnfvgc0qy3";
  };

  buildInputs = [ pytest ];

  checkInputs = [ pytest pytestCheckHook ];

  meta = with stdenv.lib; {
    description = "pytest plugin allowing multiple failures per test";
    homepage = https://github.com/okken/pytest-check;
    license = licenses.mit;
    maintainers = [ maintainers.flokli ];
  };
}