depot/third_party/nixpkgs/pkgs/development/python-modules/gekko/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

38 lines
777 B
Nix

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