ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / gpyopt / default.nix
blob8852c56967576b8ede01b6fa64bb10d1f9c5d65f
1 { lib, buildPythonPackage, fetchFromGitHub, setuptools
2 , numpy, scipy, gpy, emcee, nose, cython }:
4 buildPythonPackage rec {
5   pname = "GPyOpt";
6   version = "1.2.6";
8   src = fetchFromGitHub {
9     repo   = pname;
10     owner  = "SheffieldML";
11     rev    = "v${version}";
12     sha256 = "1sv13svaks67i9z560746hz4hslakdna0zd3gxj828il1cv7cslm";
13   };
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" ];
27   meta = with lib; {
28     description = "Bayesian optimization toolbox in Python";
29     homepage = "https://sheffieldml.github.io/GPyOpt";
30     license = licenses.bsd3;
31     maintainers = with maintainers; [ bcdarwin ];
32   };