lol

python3Packages.hyperopt: add py4j

authored by

Fabian Affolter and committed by
Jonathan Ringer
cfc4e636 b36da421

+32 -8
+32 -8
pkgs/development/python-modules/hyperopt/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage 2 - , cloudpickle, numpy, future, networkx 3 - , six, tqdm, scipy, pymongo 4 }: 5 6 buildPythonPackage rec { 7 pname = "hyperopt"; 8 version = "0.2.7"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149"; 13 }; 14 15 - propagatedBuildInputs = [ future cloudpickle numpy networkx six tqdm scipy pymongo ]; 16 17 # tries to use /homeless-shelter to mimic container usage, etc 18 doCheck = false; 19 20 - pythonImportsCheck = [ "hyperopt" ]; 21 22 meta = with lib; { 23 description = "Distributed Asynchronous Hyperparameter Optimization"; 24 - homepage = "http://hyperopt.github.com/hyperopt/"; 25 - license = licenses.bsd2; 26 - platforms = platforms.unix; 27 maintainers = with maintainers; [ freezeboy ]; 28 }; 29 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , cloudpickle 4 + , fetchPypi 5 + , future 6 + , networkx 7 + , numpy 8 + , py4j 9 + , pymongo 10 + , pyspark 11 + , scipy 12 + , six 13 + , tqdm 14 }: 15 16 buildPythonPackage rec { 17 pname = "hyperopt"; 18 version = "0.2.7"; 19 + format = "setuptools"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149"; 24 }; 25 26 + propagatedBuildInputs = [ 27 + cloudpickle 28 + future 29 + networkx 30 + numpy 31 + py4j 32 + pymongo 33 + pyspark 34 + scipy 35 + six 36 + tqdm 37 + ]; 38 39 # tries to use /homeless-shelter to mimic container usage, etc 40 doCheck = false; 41 42 + pythonImportsCheck = [ 43 + "hyperopt" 44 + ]; 45 46 meta = with lib; { 47 description = "Distributed Asynchronous Hyperparameter Optimization"; 48 + homepage = "http://hyperopt.github.io/hyperopt/"; 49 + license = licenses.bsd2; 50 + platforms = platforms.unix; 51 maintainers = with maintainers; [ freezeboy ]; 52 }; 53 }