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