2019-05-07 13:54:31 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, termcolor
|
|
|
|
, pytest
|
|
|
|
, packaging
|
2020-07-07 13:18:23 +01:00
|
|
|
, pytestCheckHook
|
2019-05-07 13:54:31 +01:00
|
|
|
}:
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-sugar";
|
2022-07-16 11:59:30 +01:00
|
|
|
version = "0.9.5";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-16 11:59:30 +01:00
|
|
|
sha256 = "sha256-7qeLbxW2NSd9PZAoDNOG2P7qHKsPm+dZR6Ym6LArR30=";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
2021-03-12 22:20:19 +00:00
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
2019-05-07 13:54:31 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
termcolor
|
|
|
|
packaging
|
|
|
|
];
|
2017-09-05 10:16:41 +01:00
|
|
|
|
2020-07-07 13:18:23 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2019-05-07 13:54:31 +01:00
|
|
|
meta = with lib; {
|
2017-09-05 10:16:41 +01:00
|
|
|
description = "A plugin that changes the default look and feel of py.test";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Frozenball/pytest-sugar";
|
2017-09-05 10:16:41 +01:00
|
|
|
license = licenses.bsd3;
|
2019-05-07 13:54:31 +01:00
|
|
|
maintainers = [ maintainers.costrouc ];
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
}
|