nixpkgs/pkgs/development/python-modules/scikit-optimize/default.nix
Josef Kemetmüller b8f130e2b4 python.pkgs.scikit-optimize: 0.6 -> 0.8.1
This fixes the build of scikit-optimize.
2020-09-20 15:27:56 -07:00

44 lines
769 B
Nix

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