mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
b8f130e2b4
This fixes the build of scikit-optimize.
44 lines
769 B
Nix
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 ];
|
|
};
|
|
}
|