Commit bec7cb49 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.authlib: migrate to finalAttrs

parent 1d443ab9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})