summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-repeat
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-08-08 15:32:52 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-09-05 23:46:28 -0400
commit7b920172dbd64f27e34568605a4894981158c65e (patch)
tree39ca64c486ed631f1a1bd34e15c3021e831e6dd2 /pkgs/development/python-modules/pytest-repeat
parent05890dda3db11a77c13d4aa88084bc6a6680e772 (diff)
downloadnixlib-7b920172dbd64f27e34568605a4894981158c65e.tar
nixlib-7b920172dbd64f27e34568605a4894981158c65e.tar.gz
nixlib-7b920172dbd64f27e34568605a4894981158c65e.tar.bz2
nixlib-7b920172dbd64f27e34568605a4894981158c65e.tar.lz
nixlib-7b920172dbd64f27e34568605a4894981158c65e.tar.xz
nixlib-7b920172dbd64f27e34568605a4894981158c65e.tar.zst
nixlib-7b920172dbd64f27e34568605a4894981158c65e.zip
pythonPackages.pytest-repeat: init at 0.6.0
 - compatible with 2.7, 3+
 - all tests pass and running
Diffstat (limited to 'pkgs/development/python-modules/pytest-repeat')
-rw-r--r--pkgs/development/python-modules/pytest-repeat/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-repeat/default.nix b/pkgs/development/python-modules/pytest-repeat/default.nix
new file mode 100644
index 000000000000..eca14c8289a9
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-repeat/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools_scm
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "pytest-repeat";
+  version = "0.6.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "84aba2fcca5dc2f32ae626a01708f469f17b3384ec3d1f507698077f274909d6";
+  };
+
+  buildInputs = [ setuptools_scm pytest ];
+
+  checkPhase = ''
+    py.test
+  '';
+
+  meta = {
+    description = "Pytest plugin for repeating tests";
+    homepage = https://github.com/pytest-dev/pytest-repeat;
+    maintainers = with lib.maintainers; [ costrouc ];
+    license = lib.licenses.mpl20;
+  };
+}