11 buildPythonPackage rec {
12 pname = "bayesian-optimization";
16 src = fetchFromGitHub {
18 repo = "BayesianOptimization";
20 sha256 = "01mg9npiqh1qmq5ldnbpjmr8qkiw827msiv3crpkhbj4bdzasbfm";
23 propagatedBuildInputs = [
28 checkInputs = [ pytest ];
30 # New sklearn broke one test: https://github.com/fmfn/BayesianOptimization/issues/243
31 pytest tests -k "not test_suggest_with_one_observation"
35 description = "A Python implementation of global optimization with gaussian processes";
36 homepage = "https://github.com/fmfn/BayesianOptimization";
37 license = licenses.mit;
38 maintainers = [ maintainers.juliendehos ];