mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.tiered-debug: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user