python3Packages.losant-rest: migrate to finalAttrs

- add changelog to meta
This commit is contained in:
Fabian Affolter
2026-03-02 10:19:20 +01:00
parent 48f486bc70
commit 30f45b4392
@@ -8,7 +8,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "losant-rest";
version = "2.1.1";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Losant";
repo = "losant-rest-python";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-B4r3ZCXt3jC/8vtBzct1HEBuMq9NpF2qOlmlhZk9a3Q=";
};
@@ -36,7 +36,8 @@ buildPythonPackage rec {
meta = {
description = "Python module for consuming the Losant IoT Platform API";
homepage = "https://github.com/Losant/losant-rest-python";
changelog = "https://github.com/Losant/losant-rest-python/releases/tag/v${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})