1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, matplotlib 5, numpy 6, openpyxl 7, pandas 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "niapy"; 14 version = "2.0.5"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "NiaOrg"; 21 repo = "NiaPy"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-qstTxUo4jZ8YKbEjtDtSZUvR67VNkBQJdXeERJPOMDw="; 24 }; 25 26 propagatedBuildInputs = [ 27 matplotlib 28 numpy 29 openpyxl 30 pandas 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "niapy" 39 ]; 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}