diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-04-26 09:49:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 09:49:06 +0200 |
commit | 33e5f2aeb6bdee70b5d95302532ba55af78af07f (patch) | |
tree | 213b9d209dc086cd39c7a3543cc6bfaa7b94b809 /pkgs | |
parent | e575a6bec90d6dc940e6d7399ee6b9727e523788 (diff) | |
parent | 7429e993a7012f17881dd6b13a1d72dd3ae97354 (diff) |
Merge pull request #305517 from fabaff/asteval-bump
python312Packages.asteval: 0.9.31 -> 0.9.32
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/asteval/default.nix | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/asteval/default.nix b/pkgs/development/python-modules/asteval/default.nix index 0fc6631dd5904..d625dfe3448ed 100644 --- a/pkgs/development/python-modules/asteval/default.nix +++ b/pkgs/development/python-modules/asteval/default.nix @@ -1,41 +1,36 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pytestCheckHook -, pythonOlder -, setuptools-scm +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + pythonOlder, + setuptools-scm, }: buildPythonPackage rec { pname = "asteval"; - version = "0.9.31"; - format = "setuptools"; + version = "0.9.32"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { - owner = "newville"; - repo = pname; + owner = "lmfit"; + repo = "asteval"; rev = "refs/tags/${version}"; - hash = "sha256-XIRDm/loZOOPQ7UO/XAo86TzhtHHRrnWFU7MNI4f1vM="; + hash = "sha256-3eML5lEKEUlp3Fwdgvk31an83x8no5ichskKvzYJDsE="; }; postPatch = '' substituteInPlace setup.cfg \ - --replace " --cov=asteval --cov-report xml" "" + --replace-fail " --cov=asteval --cov-report xml" "" ''; - nativeBuildInputs = [ - setuptools-scm - ]; + build-system = [ setuptools-scm ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "asteval" - ]; + pythonImportsCheck = [ "asteval" ]; disabledTests = [ # AssertionError: 'ImportError' != None @@ -44,8 +39,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 ]; }; |