python3Packages.asteval: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-08-23 08:57:27 +02:00
committed by GitHub
parent f4aa13cbdf
commit 12d476015a

View File

@@ -7,7 +7,7 @@
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "asteval";
version = "1.0.10";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "lmfit";
repo = "asteval";
tag = version;
tag = finalAttrs.version;
hash = "sha256-Z30H1bSud/VbYnHqRYzyJnDufFM4uBhPcMtVmZ1Sl94=";
};
@@ -36,8 +36,8 @@ buildPythonPackage rec {
meta = {
description = "AST evaluator of Python expression using ast module";
homepage = "https://github.com/lmfit/asteval";
changelog = "https://github.com/lmfit/asteval/releases/tag/${src.tag}";
changelog = "https://github.com/lmfit/asteval/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})