python313Packages.asteval: modernize

This commit is contained in:
Fabian Affolter
2025-11-08 22:23:42 +01:00
committed by GitHub
parent 0334adbf01
commit 95ae2ac138

View File

@@ -4,7 +4,6 @@
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
}:
@@ -13,8 +12,6 @@ buildPythonPackage rec {
version = "1.0.7";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "lmfit";
repo = "asteval";
@@ -39,7 +36,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "AST evaluator of Python expression using ast module";
homepage = "https://github.com/lmfit/asteval";
changelog = "https://github.com/lmfit/asteval/releases/tag/${version}";
changelog = "https://github.com/lmfit/asteval/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};