python313Packages.niapy. modernize

This commit is contained in:
Fabian Affolter
2025-11-23 21:47:07 +01:00
committed by GitHub
parent eb450201f3
commit 39b5643d07
@@ -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 ];
};