Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 552 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "colorlog"; 9 version = "6.7.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-vZS9IcHhP6x70xU/S8On3A6wl0uLwv3xqYnkdPblguU="; 14 }; 15 16 nativeCheckInputs = [ pytestCheckHook ]; 17 18 pythonImportsCheck = [ "colorlog" ]; 19 20 meta = with lib; { 21 description = "Log formatting with colors"; 22 homepage = "https://github.com/borntyping/python-colorlog"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ dotlambda ]; 25 }; 26}