python3Packages.gpyopt: unstable-2019-09-25 -> 1.2.6
This commit is contained in:
parent
9fa5bc45bb
commit
8720f2c351
1 changed files with 8 additions and 4 deletions
|
@ -1,17 +1,19 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools
|
||||
, numpy, scipy, gpy, emcee, nose }:
|
||||
, numpy, scipy, gpy, emcee, nose, cython }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GPyOpt";
|
||||
version = "unstable-2019-09-25";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "SheffieldML";
|
||||
rev = "249b8ff29c52c12ed867f145a627d529372022d8";
|
||||
sha256 = "1ywaw1kpdr7dv4s4cr7afmci86sw7w61178gs45b0lq08652zdlb";
|
||||
rev = "v${version}";
|
||||
sha256 = "1sv13svaks67i9z560746hz4hslakdna0zd3gxj828il1cv7cslm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
doCheck = false; # requires several packages not available in Nix
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
@ -20,6 +22,8 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ setuptools numpy scipy gpy emcee ];
|
||||
|
||||
pythonImportsCheck = [ "GPyOpt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bayesian optimization toolbox in Python";
|
||||
homepage = "https://sheffieldml.github.io/GPyOpt";
|
||||
|
|
Loading…
Reference in a new issue