2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2020-06-15 15:56:04 +00:00
|
|
|
, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-check";
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "1.0.4";
|
|
|
|
format = "flit";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pytest_check";
|
|
|
|
inherit version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "c93eee5a98bcd28634a4ec657ab62c46d25fa384300811e5a925d9c4d98b9540";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ pytest ];
|
2020-06-15 15:56:04 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "pytest plugin allowing multiple failures per test";
|
|
|
|
homepage = "https://github.com/okken/pytest-check";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.flokli ];
|
|
|
|
};
|
|
|
|
}
|