2021-01-14 15:16:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2018-01-26 02:33:19 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "colorlog";
|
2021-04-13 15:20:03 +00:00
|
|
|
version = "5.0.1";
|
2018-01-26 02:33:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-13 15:20:03 +00:00
|
|
|
sha256 = "sha256-8XwBOgaWKwL0RJ7gfP2+ayh98p78LJoVFbSjdvTliOo=";
|
2018-01-26 02:33:19 +00:00
|
|
|
};
|
|
|
|
|
2021-01-14 15:16:38 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2018-01-26 02:33:19 +00:00
|
|
|
|
2021-01-14 15:19:40 +00:00
|
|
|
pythonImportsCheck = [ "colorlog" ];
|
2020-11-29 18:20:29 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-26 02:33:19 +00:00
|
|
|
description = "Log formatting with colors";
|
2020-03-23 08:51:46 +00:00
|
|
|
homepage = "https://github.com/borntyping/python-colorlog";
|
2018-01-26 02:33:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|