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