nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pytest-check";
10 version = "1.0.5";
11 format = "flit";
12
13 src = fetchPypi {
14 pname = "pytest_check";
15 inherit version;
16 sha256 = "sha256-ucjbax3uPB5mFivQebgcCDKWy3Ex6YQVGcKKQIGKSHU=";
17 };
18
19 buildInputs = [ pytest ];
20 checkInputs = [ pytestCheckHook ];
21
22 meta = with lib; {
23 description = "pytest plugin allowing multiple failures per test";
24 homepage = "https://github.com/okken/pytest-check";
25 license = licenses.mit;
26 maintainers = [ maintainers.flokli ];
27 };
28}