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
Christopher Ostrouchov dac171dd5d
merge: fixing changes with nixpkgs since pull-request
- pytest-timeout: no longer requires patch
 - joblib: was improperly merged with the github merge tool (never
   using again)
2018-09-11 14:24:59 -04:00

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 ];
};
}