diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-30 16:03:42 +0100 |
|---|---|---|
| committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-30 18:52:58 -0800 |
| commit | cfc4e636fcb347e4e639b7a2be932ffc8d4133de (patch) | |
| tree | e8bc0b2b16ffde7ddb532a50ee75bd57c6e18464 | |
| parent | python3Packages.webssh: switch to pytestCheckHook (diff) | |
| download | nixpkgs-cfc4e636fcb347e4e639b7a2be932ffc8d4133de.tar.gz | |
python3Packages.hyperopt: add py4j
| -rw-r--r-- | pkgs/development/python-modules/hyperopt/default.nix | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/hyperopt/default.nix b/pkgs/development/python-modules/hyperopt/default.nix index 2b439762ac95..605377a2ec39 100644 --- a/pkgs/development/python-modules/hyperopt/default.nix +++ b/pkgs/development/python-modules/hyperopt/default.nix @@ -1,29 +1,53 @@ -{ lib, fetchPypi, buildPythonPackage -, cloudpickle, numpy, future, networkx -, six, tqdm, scipy, pymongo +{ lib +, buildPythonPackage +, cloudpickle +, fetchPypi +, future +, networkx +, numpy +, py4j +, pymongo +, pyspark +, scipy +, six +, tqdm }: buildPythonPackage rec { pname = "hyperopt"; version = "0.2.7"; + format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149"; }; - propagatedBuildInputs = [ future cloudpickle numpy networkx six tqdm scipy pymongo ]; + propagatedBuildInputs = [ + cloudpickle + future + networkx + numpy + py4j + pymongo + pyspark + scipy + six + tqdm + ]; # tries to use /homeless-shelter to mimic container usage, etc doCheck = false; - pythonImportsCheck = [ "hyperopt" ]; + pythonImportsCheck = [ + "hyperopt" + ]; meta = with lib; { description = "Distributed Asynchronous Hyperparameter Optimization"; - homepage = "http://hyperopt.github.com/hyperopt/"; - license = licenses.bsd2; - platforms = platforms.unix; + homepage = "http://hyperopt.github.io/hyperopt/"; + license = licenses.bsd2; + platforms = platforms.unix; maintainers = with maintainers; [ freezeboy ]; }; } |
