blob: 9afce76eef766f2151d0227b10aab79b0d10d909 (
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
33
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-error-for-skips";
version = "2.0.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "jankatins";
repo = "pytest-error-for-skips";
rev = version;
sha256 = "04i4jd3bg4lgn2jfh0a0dzg3ml9b2bjv2ndia6b64w96r3r4p3qr";
};
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_error_for_skips" ];
meta = {
description = "Pytest plugin to treat skipped tests a test failures";
homepage = "https://github.com/jankatins/pytest-error-for-skips";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|