depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

38 lines
684 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-check";
version = "2.2.2";
format = "pyproject";
src = fetchPypi {
pname = "pytest_check";
inherit version;
hash = "sha256-eufpnpDxJ9PQLSnAKostlbWofbPTDczRaen9ZsRP2+g=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pytest
];
nativeCheckInputs = [
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 ];
};
}