Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, isPy27 3, buildPythonPackage 4, fetchFromGitHub 5, matplotlib 6, numpy 7, scipy 8, scikitlearn 9, pyaml 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "scikit-optimize"; 15 version = "0.8.1"; 16 disabled = isPy27; 17 18 src = fetchFromGitHub { 19 owner = "scikit-optimize"; 20 repo = "scikit-optimize"; 21 rev = "v${version}"; 22 sha256 = "1bz8gxccx8n99abw49j8h5zf3i568g5hcf8nz1yinma8jqhxjkjh"; 23 }; 24 25 propagatedBuildInputs = [ 26 matplotlib 27 numpy 28 scipy 29 scikitlearn 30 pyaml 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 ]; 36 37 meta = with lib; { 38 description = "Sequential model-based optimization toolbox"; 39 homepage = "https://scikit-optimize.github.io/"; 40 license = licenses.bsd3; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}