mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
37 lines
649 B
Nix
37 lines
649 B
Nix
{ fetchPypi
|
|
, lib
|
|
, buildPythonPackage
|
|
, setuptools
|
|
, numpy
|
|
, wheel
|
|
,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "gekko";
|
|
version = "1.0.6";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WNyEdJXBXfhrD1LywBBJ3Ehk+CnUS8VYbJFK8mpKV20=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
pythonImportsCheck = [ "gekko" ];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/BYU-PRISM/GEKKO";
|
|
description = "A Python package for machine learning and optimization";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ayes-web ];
|
|
};
|
|
}
|