1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/pytest-timeout/default.nix
2018-11-18 07:48:10 -08:00

28 lines
576 B
Nix

{ buildPythonPackage
, fetchPypi
, fetchpatch
, lib
, pexpect
, pytest
}:
buildPythonPackage rec {
pname = "pytest-timeout";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a";
};
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 ];
};
}