2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
colorama,
|
|
|
|
fetchPypi,
|
|
|
|
isPy27,
|
|
|
|
lib,
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "log_symbols";
|
|
|
|
version = "0.0.14";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ colorama ];
|
|
|
|
|
|
|
|
# Tests are not included in the PyPI distribution and the git repo does not have tagged releases
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "log_symbols" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Colored Symbols for Various Log Levels";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://github.com/manrajgrover/py-log-symbols";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ urbas ];
|
|
|
|
};
|
|
|
|
}
|