1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 numpy,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "gekko";
12 version = "1.3.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-S/uHA1UPPX159ZOk/vItSVWZ4VVu1Bylhc98LslAutI=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ numpy ];
25
26 # Module has no tests
27 doCHeck = false;
28
29 pythonImportsCheck = [ "gekko" ];
30
31 meta = with lib; {
32 description = "Module for machine learning and optimization";
33 homepage = "https://github.com/BYU-PRISM/GEKKO";
34 changelog = "https://github.com/BYU-PRISM/GEKKO/releases/tag/v${version}";
35 license = licenses.mit;
36 maintainers = with maintainers; [ BatteredBunny ];
37 };
38}