mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
dac171dd5d
- pytest-timeout: no longer requires patch - joblib: was improperly merged with the github merge tool (never using again)
28 lines
588 B
Nix
28 lines
588 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, fetchpatch
|
|
, lib
|
|
, pexpect
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-timeout";
|
|
version = "1.3.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1117fc0536e1638862917efbdc0895e6b62fa61e6cf4f39bb655686af7af9627";
|
|
};
|
|
|
|
checkInputs = [ pytest pexpect ];
|
|
checkPhase = ''pytest -ra'';
|
|
|
|
meta = with lib;{
|
|
description = "py.test plugin to abort hanging tests";
|
|
homepage = https://bitbucket.org/pytest-dev/pytest-timeout/;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ makefu costrouc ];
|
|
};
|
|
}
|