2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
numpy,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gekko";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-a3Iy61B3JddLeEilaa5Z0smQepjkfyNr4mOCEx+1LlM=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [ numpy ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
# Module has no tests
|
|
|
|
doCHeck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gekko" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "Module for machine learning and optimization";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/BYU-PRISM/GEKKO";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/BYU-PRISM/GEKKO/releases/tag/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
license = licenses.mit;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ BatteredBunny ];
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|