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