python313Packages.logging-tree: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user