pythonPackages.pytest-repeat: init at 0.6.0
- compatible with 2.7, 3+
- all tests pass and running
commit7b920172dbd64f27e34568605a4894981158c65e
authorChris Ostrouchov <chris.ostrouchov@gmail.com>
dateWed 8 Aug 2018, 15:32 (8 years ago)
parent05890dd
pkgs/development/python-modules/pytest-repeat/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, setuptools_scm
5+, pytest
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "pytest-repeat";
10+ version = "0.6.0";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "84aba2fcca5dc2f32ae626a01708f469f17b3384ec3d1f507698077f274909d6";
15+ };
16+
17+ buildInputs = [ setuptools_scm pytest ];
18+
19+ checkPhase = ''
20+ py.test
21+ '';
22+
23+ meta = {
24+ description = "Pytest plugin for repeating tests";
25+ homepage = https://github.com/pytest-dev/pytest-repeat;
26+ maintainers = with lib.maintainers; [ costrouc ];
27+ license = lib.licenses.mpl20;
28+ };
29+}
pkgs/top-level/python-packages.nix+2
@@ -1913,6 +1913,8 @@ in {
19131913
19141914 pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
19151915
1916+ pytest-repeat = callPackage ../development/python-modules/pytest-repeat { };
1917+
19161918 pytestrunner = callPackage ../development/python-modules/pytestrunner { };
19171919
19181920 pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };