blob: 1f0b7241e9def4f1bdbd9ddbfce15d829d2676a4 (
plain)
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
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-instafail";
version = "0.5.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-M6YG9+DI5kbcO/7g1eOkt7eO98NhaM+h89k698pwbJ4=";
};
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_instafail" ];
meta = {
description = "Pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";
homepage = "https://github.com/pytest-dev/pytest-instafail";
changelog = "https://github.com/pytest-dev/pytest-instafail/blob/v${version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jacg ];
};
}
|