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