python313Packages.alexapy: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-11 00:18:11 +01:00
committed by GitHub
parent a1a28ec81e
commit 0e3a918a1c
@@ -16,7 +16,7 @@
yarl,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "alexapy";
version = "1.29.16";
pyproject = true;
@@ -24,15 +24,13 @@ buildPythonPackage rec {
src = fetchFromGitLab {
owner = "keatontaylor";
repo = "alexapy";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-SjY9xl/ogs7sxYo/NrcAezLDO703XAdK4d6Vv+qvYn0=";
};
pythonRelaxDeps = [ "aiofiles" ];
build-system = [
poetry-core
];
build-system = [ poetry-core ];
dependencies = [
aiofiles
@@ -56,8 +54,8 @@ buildPythonPackage rec {
meta = {
description = "Python Package for controlling Alexa devices (echo dot, etc) programmatically";
homepage = "https://gitlab.com/keatontaylor/alexapy";
changelog = "https://gitlab.com/keatontaylor/alexapy/-/blob/${src.tag}/CHANGELOG.md";
changelog = "https://gitlab.com/keatontaylor/alexapy/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})