mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
a58f0014f5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-pytest-timeout/versions
28 lines
576 B
Nix
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 ];
|
|
};
|
|
}
|