blob: 6bf3483d40f9a5936995fb413cd63f835569d17e (
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
34
35
36
37
|
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestCheckHook
, pexpect
, pytestcov
}:
buildPythonPackage rec {
pname = "pytest-timeout";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0xnsigs0kmpq1za0d4i522sp3f71x5bgpdh3ski0rs74yqy13cr0";
};
propagatedBuildInputs = [ pytest ];
checkInputs = [ pytestCheckHook pexpect pytestcov ];
disabledTests = [
"test_suppresses_timeout_when_pdb_is_entered"
];
pytestFlagsArray = [
"-ra"
];
meta = with lib; {
description = "py.test plugin to abort hanging tests";
homepage = "https://github.com/pytest-dev/pytest-timeout/";
changelog = "https://github.com/pytest-dev/pytest-timeout/#changelog";
license = licenses.mit;
maintainers = with maintainers; [ makefu costrouc ];
};
}
|