python3Packages.aio-pika: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-09-02 08:45:33 +02:00
parent 3778694de1
commit de313dbc65

View File

@@ -8,7 +8,7 @@
yarl,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aio-pika";
version = "10.0.1";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mosquito";
repo = "aio-pika";
tag = version;
tag = finalAttrs.version;
hash = "sha256-IVFZyYogfwEGyu4oysh5XGxVBEzoMT4lKoJKtphm3kE=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "AMQP 0.9 client designed for asyncio and humans";
homepage = "https://github.com/mosquito/aio-pika";
changelog = "https://github.com/mosquito/aio-pika/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/mosquito/aio-pika/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ emilytrau ];
};
}
})