about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-check/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pytest-check/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix
new file mode 100644
index 000000000000..41f316a18a65
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv
+, buildPythonPackage
+, fetchPypi
+, pytest
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "pytest-check";
+  version = "0.3.9";
+
+  src = fetchPypi {
+    pname = "pytest_check";
+    inherit version;
+    sha256 = "0asrrz0fgk6wqffsz1ffd6z9xyw314fwh5bwjzcq75w8w1g4ass9";
+  };
+
+  propagatedBuildInputs = [ pytest ];
+  checkInputs = [ pytestCheckHook ];
+
+  meta = with lib; {
+    description = "pytest plugin allowing multiple failures per test";
+    homepage = "https://github.com/okken/pytest-check";
+    license = licenses.mit;
+    maintainers = [ maintainers.flokli ];
+  };
+}