pytest-timeout: init at 1.2.1
This commit is contained in:
parent
7c464e3133
commit
19ce61d79c
27
pkgs/development/python-modules/pytest-timeout/default.nix
Normal file
27
pkgs/development/python-modules/pytest-timeout/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user