Files
nixpkgs/pkgs/development/python-modules/gekko/default.nix
T
2026-01-15 01:26:01 +00:00

36 lines
727 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
setuptools,
}:
buildPythonPackage rec {
pname = "gekko";
version = "1.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-o5nNn4lshkrb37ud0FL5V9EG9FTgpxG9U9tpbIiazn4=";
};
build-system = [ setuptools ];
dependencies = [ numpy ];
# Module has no tests
doCHeck = false;
pythonImportsCheck = [ "gekko" ];
meta = {
description = "Module for machine learning and optimization";
homepage = "https://github.com/BYU-PRISM/GEKKO";
changelog = "https://github.com/BYU-PRISM/GEKKO/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ BatteredBunny ];
};
}