2019-07-10 22:27:58 +01:00
|
|
|
{ lib
|
2020-09-14 19:34:31 +01:00
|
|
|
, isPy27
|
2019-07-10 22:27:58 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2020-09-14 19:34:31 +01:00
|
|
|
, matplotlib
|
2019-07-10 22:27:58 +01:00
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, scikitlearn
|
|
|
|
, pyaml
|
2020-09-14 19:34:31 +01:00
|
|
|
, pytestCheckHook
|
2019-07-10 22:27:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scikit-optimize";
|
2020-09-14 19:34:31 +01:00
|
|
|
version = "0.8.1";
|
|
|
|
disabled = isPy27;
|
2019-07-10 22:27:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scikit-optimize";
|
|
|
|
repo = "scikit-optimize";
|
|
|
|
rev = "v${version}";
|
2020-09-14 19:34:31 +01:00
|
|
|
sha256 = "1bz8gxccx8n99abw49j8h5zf3i568g5hcf8nz1yinma8jqhxjkjh";
|
2019-07-10 22:27:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-09-14 19:34:31 +01:00
|
|
|
matplotlib
|
2019-07-10 22:27:58 +01:00
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
scikitlearn
|
|
|
|
pyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2020-09-14 19:34:31 +01:00
|
|
|
pytestCheckHook
|
2019-07-10 22:27:58 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Sequential model-based optimization toolbox";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://scikit-optimize.github.io/";
|
2019-07-10 22:27:58 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|