python3Packages.aiocoap: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-28 22:43:20 +02:00
parent 0885f57447
commit 72c8faea65
@@ -15,7 +15,7 @@
websockets,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aiocoap";
version = "0.4.17";
pyproject = true;
@@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "chrysn";
repo = "aiocoap";
tag = version;
tag = finalAttrs.version;
hash = "sha256-l9MChfvBTJn/ABTqrw4i+YUNGJnDZmOJS/kumImaa/s=";
};
@@ -70,8 +70,8 @@ buildPythonPackage rec {
meta = {
description = "Python CoAP library";
homepage = "https://aiocoap.readthedocs.io/";
changelog = "https://github.com/chrysn/aiocoap/blob/${src.tag}/NEWS";
changelog = "https://github.com/chrysn/aiocoap/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})