mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
pytest-rerunfailures: init at 2.0.1
(cherry picked from commit 6ddf8f31d3998e464c10fdb59385bf79cf08ef09)
This commit is contained in:
parent
ff25c5e21a
commit
074013bca5
1 changed files with 25 additions and 0 deletions
|
@ -4671,6 +4671,31 @@ in modules // {
|
|||
};
|
||||
};
|
||||
|
||||
pytest-rerunfailures = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pytest-rerunfailures";
|
||||
version = "2.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
||||
sha256 = "1zzxlswbny8dp3c1sbhpyms1xkknxb6qfji3y3azc7gc95324xsv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "pytest plugin to re-run tests to eliminate flaky failures.";
|
||||
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
pytestflakes = buildPythonPackage rec {
|
||||
name = "pytest-flakes-${version}";
|
||||
version = "1.0.0";
|
||||
|
|
Loading…
Reference in a new issue