1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/python-modules/pytest-timeout/default.nix

28 lines
576 B
Nix
Raw Normal View History

2017-12-05 12:31:43 +00:00
{ buildPythonPackage
, fetchPypi
, fetchpatch
2017-12-05 12:31:43 +00:00
, lib
, pexpect
, pytest
}:
buildPythonPackage rec {
pname = "pytest-timeout";
version = "1.3.3";
2017-12-05 12:31:43 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a";
2017-12-05 12:31:43 +00:00
};
2017-12-05 12:31:43 +00:00
checkInputs = [ pytest pexpect ];
checkPhase = ''pytest -ra'';
meta = with lib;{
description = "py.test plugin to abort hanging tests";
2018-06-27 21:12:57 +01:00
homepage = https://bitbucket.org/pytest-dev/pytest-timeout/;
2017-12-05 12:31:43 +00:00
license = licenses.mit;
maintainers = with maintainers; [ makefu costrouc ];
2017-12-05 12:31:43 +00:00
};
}