diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-20 12:24:46 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-20 12:24:46 +0200 |
commit | f35531bc9e200e386df0806a76b2acb448bcd49d (patch) | |
tree | cc451543bd19f0810182bf4f40a92da23ca2376e | |
parent | 168e3185b02c8abab8b83041a78c2bd2e2610fa9 (diff) |
python312Packages.asteval: refactor
-rw-r--r-- | pkgs/development/python-modules/asteval/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/asteval/default.nix b/pkgs/development/python-modules/asteval/default.nix index 0fc6631dd5904..e9cec51c37287 100644 --- a/pkgs/development/python-modules/asteval/default.nix +++ b/pkgs/development/python-modules/asteval/default.nix @@ -9,23 +9,23 @@ buildPythonPackage rec { pname = "asteval"; version = "0.9.31"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = "newville"; - repo = pname; + owner = "lmfit"; + repo = "asteval"; rev = "refs/tags/${version}"; hash = "sha256-XIRDm/loZOOPQ7UO/XAo86TzhtHHRrnWFU7MNI4f1vM="; }; postPatch = '' substituteInPlace setup.cfg \ - --replace " --cov=asteval --cov-report xml" "" + --replace-fail " --cov=asteval --cov-report xml" "" ''; - nativeBuildInputs = [ + build-system = [ setuptools-scm ]; @@ -44,8 +44,8 @@ buildPythonPackage rec { meta = with lib; { description = "AST evaluator of Python expression using ast module"; - homepage = "https://github.com/newville/asteval"; - changelog = "https://github.com/newville/asteval/releases/tag/${version}"; + homepage = "https://github.com/lmfit/asteval"; + changelog = "https://github.com/lmfit/asteval/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; |