depot/third_party/nixpkgs/pkgs/development/python-modules/gekko/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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 ];
};
}