Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / colorlog / default.nix
blob833217bdb887e25cc667497f763d3b309749b0aa
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "colorlog";
9   version = "6.7.0";
11   src = fetchPypi {
12     inherit pname version;
13     hash = "sha256-vZS9IcHhP6x70xU/S8On3A6wl0uLwv3xqYnkdPblguU=";
14   };
16   nativeCheckInputs = [ pytestCheckHook ];
18   pythonImportsCheck = [ "colorlog" ];
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   };