15 buildPythonPackage rec {
20 disabled = pythonOlder "3.9";
22 src = fetchFromGitHub {
23 owner = "firefly-cpp";
25 rev = "refs/tags/${version}";
26 hash = "sha256-C3EF18lzheE+dXHJA6WJNFECAH4HfPiCDo7QxtHvOLI=";
29 pythonRelaxDeps = [ "pandas" ];
36 propagatedBuildInputs = [
43 # create scikit-learn dep version consistent
45 toml-adapt -path pyproject.toml -a change -dep scikit-learn -ver X
48 nativeCheckInputs = [ pytestCheckHook ];
50 pythonImportsCheck = [ "niaclass" ];
53 description = "Framework for solving classification tasks using Nature-inspired algorithms";
54 homepage = "https://github.com/firefly-cpp/NiaClass";
55 changelog = "https://github.com/firefly-cpp/NiaClass/releases/tag/${version}";
56 license = licenses.mit;
57 maintainers = with maintainers; [ firefly-cpp ];