From 39b5643d07ee426ae2ab35e1c255853894e19f08 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Nov 2025 21:47:07 +0100 Subject: [PATCH] python313Packages.niapy. modernize --- pkgs/development/python-modules/niapy/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/niapy/default.nix b/pkgs/development/python-modules/niapy/default.nix index 95f8ccca94f1..7536d709964f 100644 --- a/pkgs/development/python-modules/niapy/default.nix +++ b/pkgs/development/python-modules/niapy/default.nix @@ -7,9 +7,8 @@ openpyxl, pandas, poetry-core, - pytest7CheckHook, + pytestCheckHook, pytest-xdist, - pythonOlder, }: buildPythonPackage rec { @@ -17,8 +16,6 @@ buildPythonPackage rec { version = "2.6.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "NiaOrg"; repo = "NiaPy"; @@ -40,7 +37,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest7CheckHook + pytestCheckHook pytest-xdist ]; @@ -49,7 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "Micro framework for building nature-inspired algorithms"; homepage = "https://niapy.org/"; - changelog = "https://github.com/NiaOrg/NiaPy/releases/tag/${version}"; + changelog = "https://github.com/NiaOrg/NiaPy/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };