504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
36 lines
649 B
Nix
36 lines
649 B
Nix
{ fetchPypi
|
|
, lib
|
|
, buildPythonPackage
|
|
, setuptools
|
|
, numpy
|
|
, wheel
|
|
,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "gekko";
|
|
version = "1.0.6";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WNyEdJXBXfhrD1LywBBJ3Ehk+CnUS8VYbJFK8mpKV20=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
pythonImportsCheck = [ "gekko" ];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/BYU-PRISM/GEKKO";
|
|
description = "A Python package for machine learning and optimization";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ayes-web ];
|
|
};
|
|
}
|