python3Packages.authlib: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-27 16:02:16 +02:00
parent 1d443ab9b5
commit bec7cb4928
@@ -18,7 +18,7 @@
werkzeug,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "authlib";
version = "1.7.0";
pyproject = true;
@@ -26,7 +26,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "lepture";
repo = "authlib";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-vy1IOhwLkETSLSSHCWEgDOq79eZW+qEU9CJOHFMrBWE=";
};
@@ -64,8 +64,8 @@ buildPythonPackage rec {
meta = {
description = "Library for building OAuth and OpenID Connect servers";
homepage = "https://github.com/lepture/authlib";
changelog = "https://github.com/lepture/authlib/blob/${src.tag}/docs/upgrades/changelog.rst";
changelog = "https://github.com/lepture/authlib/blob/${finalAttrs.src.tag}/docs/upgrades/changelog.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ flokli ];
};
}
})