pythonPackages.scikit-optimize: init at 0.6

This commit is contained in:
Chris Ostrouchov 2019-07-10 17:27:58 -04:00 committed by Frederik Rietdijk
parent cc7213d7f5
commit 0bcbf8983a
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, scikitlearn
, pyaml
, pytest
}:
buildPythonPackage rec {
pname = "scikit-optimize";
version = "0.6";
src = fetchFromGitHub {
owner = "scikit-optimize";
repo = "scikit-optimize";
rev = "v${version}";
sha256 = "1srbb20k8ddhpcfxwdflapfh6xfyrd3dnclcg3bsfq1byrcmv0d4";
};
propagatedBuildInputs = [
numpy
scipy
scikitlearn
pyaml
];
checkInputs = [
pytest
];
# remove --ignore at next release > 0.6
checkPhase = ''
pytest skopt --ignore skopt/tests/test_searchcv.py
'';
meta = with lib; {
description = "Sequential model-based optimization toolbox";
homepage = https://scikit-optimize.github.io/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -4423,6 +4423,8 @@ in {
scikit-build = callPackage ../development/python-modules/scikit-build { };
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
scp = callPackage ../development/python-modules/scp {};
seaborn = callPackage ../development/python-modules/seaborn { };