python3Packages.botorch: init at 0.8.5
This commit is contained in:
parent
23de81b0b3
commit
33be98c31d
51
pkgs/development/python-modules/botorch/default.nix
Normal file
51
pkgs/development/python-modules/botorch/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, gpytorch
|
||||
, linear_operator
|
||||
, multipledispatch
|
||||
, pyro-ppl
|
||||
, setuptools-scm
|
||||
, torch
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botorch";
|
||||
version = "0.8.5";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VcNHgfk8OfLJseQxHksycWuCPCudCtOdcRV0XnxHSfU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
gpytorch
|
||||
linear_operator
|
||||
multipledispatch
|
||||
pyro-ppl
|
||||
scipy
|
||||
torch
|
||||
];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
pythonImportsCheck = [ "botorch" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bayesian Optimization in PyTorch";
|
||||
homepage = "https://botorch.org";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
@ -1435,6 +1435,8 @@ self: super: with self; {
|
||||
|
||||
botocore = callPackage ../development/python-modules/botocore { };
|
||||
|
||||
botorch = callPackage ../development/python-modules/botorch { };
|
||||
|
||||
bottle = callPackage ../development/python-modules/bottle { };
|
||||
|
||||
bottleneck = callPackage ../development/python-modules/bottleneck { };
|
||||
|
Loading…
Reference in New Issue
Block a user