depot/third_party/nixpkgs/pkgs/development/python-modules/scikit-optimize/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
884 B
Nix

{
lib,
isPy27,
buildPythonPackage,
fetchFromGitHub,
matplotlib,
numpy,
scipy,
scikit-learn,
pyaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "scikit-optimize";
version = "0.9.0";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "scikit-optimize";
repo = "scikit-optimize";
rev = "v${version}";
sha256 = "0hsq6pmryimxc275yrcy4bv217bx7ma6rz0q6m4138bv4zgq18d1";
};
propagatedBuildInputs = [
matplotlib
numpy
scipy
scikit-learn
pyaml
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Sequential model-based optimization toolbox";
homepage = "https://scikit-optimize.github.io/";
license = licenses.bsd3;
maintainers = [ ];
broken = true; # It will fix by https://github.com/scikit-optimize/scikit-optimize/pull/1123
};
}