python313Packages.logging-tree: modernize

This commit is contained in:
Sigmanificient
2026-01-13 23:57:12 +01:00
parent fc399e2549
commit 09e603c18f
@@ -3,24 +3,24 @@
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "logging-tree";
version = "1.10";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "brandon-rhodes";
repo = "logging_tree";
tag = version;
tag = finalAttrs.version;
hash = "sha256-9MeCx708EUe5dmFkol+HISzdBX+yar1HjKIAwmg1msA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "logging_tree" ];
@@ -30,4 +30,4 @@ buildPythonPackage rec {
license = [ lib.licenses.bsd2 ];
maintainers = [ lib.maintainers.rskew ];
};
}
})