uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/development/python-modules/gpyopt/default.nix
Normal file
33
pkgs/development/python-modules/gpyopt/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools
|
||||
, numpy, scipy, gpy, emcee, nose, cython }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GPyOpt";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "SheffieldML";
|
||||
rev = "v${version}";
|
||||
sha256 = "1sv13svaks67i9z560746hz4hslakdna0zd3gxj828il1cv7cslm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
doCheck = false; # requires several packages not available in Nix
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = "nosetests -v GPyOpt/testing";
|
||||
|
||||
propagatedBuildInputs = [ setuptools numpy scipy gpy emcee ];
|
||||
|
||||
pythonImportsCheck = [ "GPyOpt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bayesian optimization toolbox in Python";
|
||||
homepage = "https://sheffieldml.github.io/GPyOpt";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue