python3Packages.asana: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-06 14:08:47 +02:00
committed by GitHub
parent 1b98e6ee06
commit 0e76116027
@@ -11,7 +11,7 @@
urllib3,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "asana";
version = "5.2.4";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "asana";
repo = "python-asana";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Bfq3FKJoZE8edAAFVNYYrLJ8vp44QYboEVsCGsI5WMY=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "Python client library for Asana";
homepage = "https://github.com/asana/python-asana";
changelog = "https://github.com/Asana/python-asana/releases/tag/${src.tag}";
changelog = "https://github.com/Asana/python-asana/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})