depot/third_party/nixpkgs/pkgs/development/python-modules/gekko/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
777 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "gekko";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-a3Iy61B3JddLeEilaa5Z0smQepjkfyNr4mOCEx+1LlM=";
};
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 ];
};
}