1{
2 buildPythonPackage,
3 colorama,
4 fetchPypi,
5 lib,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "log-symbols";
11 version = "0.0.14";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "log_symbols";
16 inherit version;
17 hash = "sha256-zwu8b+Go5T8NF0pxa8YlxPhwQ8wh61XdinQM/iJoBVY=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ colorama ];
23
24 # Tests are not included in the PyPI distribution and the git repo does not have tagged releases
25 doCheck = false;
26 pythonImportsCheck = [ "log_symbols" ];
27
28 meta = {
29 description = "Colored Symbols for Various Log Levels";
30 homepage = "https://github.com/manrajgrover/py-log-symbols";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ urbas ];
33 };
34}