Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies scikit-learn, numpy, scipy, colorama, packaging,
# tests jupyter, matplotlib, nbconvert, nbformat, pytestCheckHook,}:
buildPythonPackage rec { pname = "bayesian-optimization"; version = "3.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "bayesian-optimization"; repo = "BayesianOptimization"; tag = "v${version}"; hash = "sha256-dq5R0/gqjSzQPAmYvtByJ6gT8pOiXcezfYlKpFLnryk="; };
build-system = [ poetry-core ];
dependencies = [ scikit-learn numpy scipy colorama packaging ];
nativeCheckInputs = [ jupyter matplotlib nbconvert nbformat pytestCheckHook ];
pythonImportsCheck = [ "bayes_opt" ];
__darwinAllowLocalNetworking = true;
meta = { description = "Python implementation of global optimization with gaussian processes"; homepage = "https://github.com/bayesian-optimization/BayesianOptimization"; changelog = "https://github.com/bayesian-optimization/BayesianOptimization/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.juliendehos ]; };}