python3Packages.asgiref: convert to finalAttrs

This commit is contained in:
Harinn 2026-06-03 20:01:27 +07:00
commit 652746146f

View file

@ -9,7 +9,7 @@
typing-extensions,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
version = "3.11.0";
pname = "asgiref";
pyproject = true;
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "django";
repo = "asgiref";
tag = version;
tag = finalAttrs.version;
hash = "sha256-2ZaUIWGF5cQVNj95b7WiKGsn2wYsoJmJ/CfPhIEZdjc=";
};
@ -37,10 +37,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "asgiref" ];
meta = {
changelog = "https://github.com/django/asgiref/blob/${src.tag}/CHANGELOG.txt";
changelog = "https://github.com/django/asgiref/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
description = "Reference ASGI adapters and channel layers";
homepage = "https://github.com/django/asgiref";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})