nixpkgs/pkgs/development/python-modules/colorlog/default.nix

27 lines
548 B
Nix
Raw Permalink Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "colorlog";
version = "5.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8XwBOgaWKwL0RJ7gfP2+ayh98p78LJoVFbSjdvTliOo=";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "colorlog" ];
2020-11-29 18:20:29 +00:00
meta = with lib; {
description = "Log formatting with colors";
homepage = "https://github.com/borntyping/python-colorlog";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}