python3Packages.pylitterbot: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-16 17:38:57 +02:00
parent 0313e74491
commit 2bc080c491
@@ -16,7 +16,7 @@
uv-dynamic-versioning,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pylitterbot";
version = "2025.3.2";
pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "natekspencer";
repo = "pylitterbot";
tag = version;
tag = "v${finalAttrs.version}";
hash = "sha256-bFJ6v27yfzMPqZijWCOlgdVS19IKIMqZcq2FjAyMnqo=";
};
@@ -54,8 +54,8 @@ buildPythonPackage rec {
meta = {
description = "Modulefor controlling a Litter-Robot";
homepage = "https://github.com/natekspencer/pylitterbot";
changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${src.tag}";
changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})