python3Packages.tiered-debug: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-08-06 00:04:03 +02:00
parent 1e892f9dfe
commit cca753ed36

View File

@@ -7,7 +7,7 @@
pytest-cov-stub,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "tiered-debug";
version = "1.5.1";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "untergeek";
repo = "tiered-debug";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-PIqRReT+m5nlq9koD88XJMeUvUsRwrXCqZDTylZGgPg=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "Python logging helper module that allows for multiple tiers of debug logging";
homepage = "https://github.com/untergeek/tiered-debug";
changelog = "https://github.com/untergeek/tiered-debug/releases/tag/${src.tag}";
changelog = "https://github.com/untergeek/tiered-debug/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})