about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/hyperopt/default.nix
blob: 605377a2ec39142ea6c472010f65f5aee103a091 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{ 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 = [
    cloudpickle
    future
    networkx
    numpy
    py4j
    pymongo
    pyspark
    scipy
    six
    tqdm
  ];

  # tries to use /homeless-shelter to mimic container usage, etc
  doCheck = false;

  pythonImportsCheck = [
    "hyperopt"
  ];

  meta = with lib; {
    description = "Distributed Asynchronous Hyperparameter Optimization";
    homepage = "http://hyperopt.github.io/hyperopt/";
    license = licenses.bsd2;
    platforms = platforms.unix;
    maintainers = with maintainers; [ freezeboy ];
  };
}