mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 21:35:36 +00:00
python3Packages.aio-pika: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user