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