about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-lazy-fixture
diff options
context:
space:
mode:
authorTobias Mayer <tobim@fastmail.fm>2020-02-15 11:06:41 +0100
committerTobias Mayer <tobim@fastmail.fm>2020-02-15 11:08:36 +0100
commit4594022ec312ccd3db4e29e1e7c658886de96d80 (patch)
treed7333b4fff0b2cc95fd2853b0994b5778a712b9b /pkgs/development/python-modules/pytest-lazy-fixture
parent0c960262d159d3a884dadc3d4e4b131557dad116 (diff)
pytest-lazy-fixture: init at 0.6.3
Diffstat (limited to 'pkgs/development/python-modules/pytest-lazy-fixture')
-rw-r--r--pkgs/development/python-modules/pytest-lazy-fixture/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-lazy-fixture/default.nix b/pkgs/development/python-modules/pytest-lazy-fixture/default.nix
new file mode 100644
index 0000000000000..779b710f92ba2
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-lazy-fixture/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "pytest-lazy-fixture";
+  version = "0.6.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1b0hmnsxw4s2wf9pks8dg6dfy5cx3zcbzs8517lfccxsfizhqz8f";
+  };
+
+  checkInputs = [
+    pytest
+  ];
+
+  checkPhase = ''
+    pytest
+  '';
+
+  meta = with lib; {
+    description = "Helps to use fixtures in pytest.mark.parametrize";
+    homepage = "https://github.com/pytest-dev/pytest-repeat";
+    license = licenses.mit;
+    maintainers = with maintainers; [ tobim ];
+  };
+}