Files
nixpkgs/pkgs/development/python-modules/gekko/default.nix
2025-04-12 14:36:15 +00:00

39 lines
777 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "gekko";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-S/uHA1UPPX159ZOk/vItSVWZ4VVu1Bylhc98LslAutI=";
};
build-system = [ setuptools ];
dependencies = [ numpy ];
# Module has no tests
doCHeck = false;
pythonImportsCheck = [ "gekko" ];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ BatteredBunny ];
};
}