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";
|
2020-07-07 17:37:56 +01:00
|
|
|
version = "0.9.4";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-07 17:37:56 +01:00
|
|
|
sha256 = "b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3";
|
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
|
|
|
};
|
|
|
|
}
|