2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
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";
|
2020-06-08 19:15:14 +00:00
|
|
|
version = "0.3.9";
|
2019-09-14 00:42:41 +00:00
|
|
|
|
2020-06-08 19:15:14 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pytest_check";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "0asrrz0fgk6wqffsz1ffd6z9xyw314fwh5bwjzcq75w8w1g4ass9";
|
2019-09-14 00:42:41 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 19:15:14 +00:00
|
|
|
propagatedBuildInputs = [ pytest ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|