python3Packages.daphne: migrate to finalAttrs

This commit is contained in:
Fabian Affolter 2026-06-07 12:51:03 +02:00
commit 117f8de2f2

View file

@ -13,7 +13,7 @@
twisted,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "daphne";
version = "4.2.2";
pyproject = true;
@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "django";
repo = "daphne";
tag = version;
tag = finalAttrs.version;
hash = "sha256-i0BwZCpMZW6WXK94FSvlEheXHUzXviCBEew6AbkLkpk=";
};
@ -49,9 +49,9 @@ buildPythonPackage rec {
meta = {
description = "Django ASGI (HTTP/WebSocket) server";
homepage = "https://github.com/django/daphne";
changelog = "https://github.com/django/daphne/blob/${src.tag}/CHANGELOG.txt";
changelog = "https://github.com/django/daphne/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
license = lib.licenses.bsd3;
maintainers = [ ];
mainProgram = "daphne";
};
}
})