at 23.05-pre 805 B view raw
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.3"; 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-h3bCitNFjw2WQtsQFR25VJlNVMojdfik+lrPMKwp8Mw="; 24 }; 25 26 propagatedBuildInputs = [ 27 matplotlib 28 numpy 29 openpyxl 30 pandas 31 ]; 32 33 checkInputs = [ 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 license = licenses.mit; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}