Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
901 B · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ 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 ]; };}