pytest-timeout: init at 1.2.1

This commit is contained in:
makefu 2017-12-05 13:31:43 +01:00
parent 7c464e3133
commit 19ce61d79c
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ buildPythonPackage
, fetchPypi
, lib
, pexpect
, pytest
}:
buildPythonPackage rec {
pname = "pytest-timeout";
version = "1.2.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1kdp6qbh5v1168l99rba5yfzvy05gmzkmkhldgp36p9xcdjd5dv8";
};
buildInputs = [ pytest ];
checkInputs = [ pytest pexpect ];
checkPhase = ''pytest -ra'';
meta = with lib;{
description = "py.test plugin to abort hanging tests";
homepage = http://bitbucket.org/pytest-dev/pytest-timeout/;
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@ -3768,6 +3768,8 @@ in {
};
};
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };
pytest-warnings = callPackage ../development/python-modules/pytest-warnings { };
pytestpep8 = buildPythonPackage rec {
@ -24463,6 +24465,7 @@ EOF
parse-type = callPackage ../development/python-modules/parse-type { };
ephem = callPackage ../development/python-modules/ephem { };
});
in fix' (extends overrides packages)