aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
new file mode 100644
index 000000000000..b90e8ebef385
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools_scm
+, pytest
+, fetchpatch
+}:
+
+buildPythonPackage rec {
+ pname = "pytest-repeat";
+ version = "0.9.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
+ };
+
+ nativeBuildInputs = [
+ setuptools_scm
+ ];
+
+ checkInputs = [
+ pytest
+ ];
+
+ checkPhase = ''
+ pytest
+ '';
+
+ meta = with lib; {
+ description = "Pytest plugin for repeating tests";
+ homepage = "https://github.com/pytest-dev/pytest-repeat";
+ license = licenses.mpl20;
+ maintainers = with maintainers; [ costrouc ];
+ };
+}