Robert Schütz
2025-10-19 20:57:26 -07:00
parent c3a1450f4c
commit e916df2d97
@@ -1,19 +1,21 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "colorlog";
version = "6.9.0";
version = "6.10.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-v7pUobk7lPVOH0/kg5VyWj2S/SpK9wL2vXCUa9wMasI=";
src = fetchFromGitHub {
owner = "borntyping";
repo = "python-colorlog";
tag = "v${version}";
hash = "sha256-vb7OzIVcEIfnhJGpO0DgeEdhL6NCKlrynoNMxNp8Yg4=";
};
build-system = [ setuptools ];
@@ -22,10 +24,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
meta = {
changelog = "https://github.com/borntyping/python-colorlog/releases/tag/${src.tag}";
description = "Log formatting with colors";
homepage = "https://github.com/borntyping/python-colorlog";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}