nixpkgs/pkgs/development/python-modules/gekko/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
777 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
pythonOlder,
setuptools,
2023-11-14 15:11:41 +00:00
}:
2024-04-12 08:37:02 +00:00
2023-11-14 15:11:41 +00:00
buildPythonPackage rec {
pname = "gekko";
version = "1.2.1";
2023-11-14 15:11:41 +00:00
pyproject = true;
2024-04-12 08:37:02 +00:00
disabled = pythonOlder "3.7";
2023-11-14 15:11:41 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-a3Iy61B3JddLeEilaa5Z0smQepjkfyNr4mOCEx+1LlM=";
2023-11-14 15:11:41 +00:00
};
build-system = [ setuptools ];
2023-11-14 15:11:41 +00:00
dependencies = [ numpy ];
2023-11-14 15:11:41 +00:00
2024-04-12 08:37:02 +00:00
# Module has no tests
doCHeck = false;
pythonImportsCheck = [ "gekko" ];
2023-11-14 15:11:41 +00:00
meta = with lib; {
2024-04-12 08:37:02 +00:00
description = "Module for machine learning and optimization";
2023-11-14 15:11:41 +00:00
homepage = "https://github.com/BYU-PRISM/GEKKO";
2024-04-12 08:37:02 +00:00
changelog = "https://github.com/BYU-PRISM/GEKKO/releases/tag/v${version}";
2023-11-14 15:11:41 +00:00
license = licenses.mit;
maintainers = with maintainers; [ BatteredBunny ];
2023-11-14 15:11:41 +00:00
};
}