My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/scikit-optimize/default.nix

43 lines
771 B

{ lib
, isPy27
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, scipy
, scikit-learn
, pyaml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "scikit-optimize";
version = "0.9.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "scikit-optimize";
repo = "scikit-optimize";
rev = "v${version}";
sha256 = "0hsq6pmryimxc275yrcy4bv217bx7ma6rz0q6m4138bv4zgq18d1";
};
propagatedBuildInputs = [
matplotlib
numpy
scipy
scikit-learn
pyaml
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Sequential model-based optimization toolbox";
homepage = "https://scikit-optimize.github.io/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}