diff options
author | Jascha Geerds <jascha@jgeerds.name> | 2016-09-10 12:01:19 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-09-13 09:23:24 +0200 |
commit | a514bf604c6098f47e09feb173e953ba3a3a13ff (patch) | |
tree | 1f42f7216c9e8fd815cb2f02c39f652105b90d69 | |
parent | 4adbcc60fc420bb5d0306816273657a6f63ceb63 (diff) | |
download | nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar.gz nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar.bz2 nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar.lz nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar.xz nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.tar.zst nixlib-a514bf604c6098f47e09feb173e953ba3a3a13ff.zip |
pytest-rerunfailures: init at 2.0.1
(cherry picked from commit 6ddf8f31d3998e464c10fdb59385bf79cf08ef09) (cherry picked from commit 074013bca596571a33852f18ff0f29c4578c347c)
-rw-r--r-- | pkgs/top-level/python-packages.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1017218cd383..0c74fc5e7682 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; |