1 { lib, buildPythonPackage, fetchFromGitHub, setuptools
2 , numpy, scipy, gpy, emcee, nose, cython }:
4 buildPythonPackage rec {
8 src = fetchFromGitHub {
10 owner = "SheffieldML";
12 sha256 = "1sv13svaks67i9z560746hz4hslakdna0zd3gxj828il1cv7cslm";
15 nativeBuildInputs = [ cython ];
17 doCheck = false; # requires several packages not available in Nix
19 checkInputs = [ nose ];
21 checkPhase = "nosetests -v GPyOpt/testing";
23 propagatedBuildInputs = [ setuptools numpy scipy gpy emcee ];
25 pythonImportsCheck = [ "GPyOpt" ];
28 description = "Bayesian optimization toolbox in Python";
29 homepage = "https://sheffieldml.github.io/GPyOpt";
30 license = licenses.bsd3;
31 maintainers = with maintainers; [ bcdarwin ];