31 buildPythonPackage rec {
36 src = fetchFromGitHub {
40 sha256 = "179x2lsckpmkrkkdnvvbzky86g1ba882z677qwbayhsc835wbp0y";
59 propagatedBuildInputs = [
69 ] ++ lib.optionals (pythonOlder "3.5") [
73 configurePhase = if !(pythonOlder "3.5") then ''
74 substituteInPlace setup.py \
75 --replace "'typing'," ""
79 pytest --ignore tests/test_cli.py \
80 --ignore tests/integration_tests/test_chainermn.py \
81 --ignore tests/integration_tests/test_pytorch_lightning.py \
82 --ignore tests/integration_tests/test_pytorch_ignite.py \
83 --ignore tests/integration_tests/test_fastai.py
87 broken = true; # Dashboard broken, other build failures.
88 description = "A hyperparameter optimization framework";
89 homepage = "https://optuna.org/";
90 license = licenses.mit;
91 maintainers = [ maintainers.costrouc ];