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