at 24.11-pre 922 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 matplotlib, 6 numpy, 7 openpyxl, 8 pandas, 9 poetry-core, 10 pytestCheckHook, 11 pythonOlder, 12}: 13 14buildPythonPackage rec { 15 pname = "niapy"; 16 version = "2.3.1"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "NiaOrg"; 23 repo = "NiaPy"; 24 rev = "refs/tags/v${version}"; 25 hash = "sha256-cT5CU1r3LZ9ValJwRUA0PaISmF6kXAz40alXbWYogGA="; 26 }; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ 31 matplotlib 32 numpy 33 openpyxl 34 pandas 35 ]; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ "niapy" ]; 40 41 meta = with lib; { 42 description = "Micro framework for building nature-inspired algorithms"; 43 homepage = "https://niapy.org/"; 44 changelog = "https://github.com/NiaOrg/NiaPy/releases/tag/${version}"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}