2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-09-14 00:42:41 +00:00
|
|
|
, buildPythonPackage
|
2020-06-08 19:15:14 +00:00
|
|
|
, fetchPypi
|
2019-09-14 00:42:41 +00:00
|
|
|
, pytest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-check";
|
2021-01-25 14:16:56 +00:00
|
|
|
version = "1.0.1";
|
2019-09-14 00:42:41 +00:00
|
|
|
|
2020-06-08 19:15:14 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pytest_check";
|
|
|
|
inherit version;
|
2021-01-25 14:16:56 +00:00
|
|
|
sha256 = "1i01i5ab06ic11na13gcacrlcs2ab6rmaii0yz0x06z5ynnljn6s";
|
2019-09-14 00:42:41 +00:00
|
|
|
};
|
|
|
|
|
2021-03-12 22:20:19 +00:00
|
|
|
buildInputs = [ pytest ];
|
2020-06-08 19:15:14 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2019-09-14 00:42:41 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-14 00:42:41 +00:00
|
|
|
description = "pytest plugin allowing multiple failures per test";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/okken/pytest-check";
|
2019-09-14 00:42:41 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.flokli ];
|
|
|
|
};
|
|
|
|
}
|