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 ]; };