Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "colorlog"; 11 version = "6.8.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-Pj4HmkH+taG2T5eLXqT0YECpTxHw6Lu4Jh49u+ymTUQ="; 17 }; 18 19 nativeBuildInputs = [ setuptools ]; 20 21 pythonImportsCheck = [ "colorlog" ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 description = "Log formatting with colors"; 27 homepage = "https://github.com/borntyping/python-colorlog"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ dotlambda ]; 30 }; 31}