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