Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9177df65e7cc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 93be69d42f90
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 15, 2019

  1. Copy the full SHA
    634effc View commit details

Commits on Nov 19, 2019

  1. Merge pull request #73473 from bcdarwin/gpyopt

    pythonPackages.gpyopt: init at unstable-2019-09-25
    marsam authored Nov 19, 2019
    Copy the full SHA
    93be69d View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/development/python-modules/gpyopt/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/gpyopt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, numpy, scipy, gpy, emcee, nose }:

buildPythonPackage rec {
pname = "GPyOpt";
version = "unstable-2019-09-25";

src = fetchFromGitHub {
repo = pname;
owner = "SheffieldML";
rev = "249b8ff29c52c12ed867f145a627d529372022d8";
sha256 = "1ywaw1kpdr7dv4s4cr7afmci86sw7w61178gs45b0lq08652zdlb";
};

doCheck = false; # requires several packages not available in Nix

checkInputs = [ nose ];

checkPhase = "nosetests -v GPyOpt/testing";

propagatedBuildInputs = [ numpy scipy gpy emcee ];

meta = with stdenv.lib; {
description = "Bayesian optimization toolbox in Python";
homepage = https://sheffieldml.github.io/GPyOpt;
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2462,6 +2462,8 @@ in {

gpy = callPackage ../development/python-modules/gpy { };

gpyopt = callPackage ../development/python-modules/gpyopt { };

gitdb = callPackage ../development/python-modules/gitdb { };

gitdb2 = callPackage ../development/python-modules/gitdb2 { };