aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/hyperopt/default.nix
blob: 7a907224993eab65917dc50a232b2ce246d8cd90 (plain)
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
{ stdenv, fetchPypi, buildPythonPackage
, cloudpickle, numpy, future, networkx
, six, tqdm, scipy, pymongo
}:

buildPythonPackage rec {
  pname = "hyperopt";
  version = "0.1.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "34xIpivBYUvcN/XMVwBkqTpLgaFlWWIduazuP2U2tlg=";
  };

  propagatedBuildInputs = [ future cloudpickle numpy networkx six tqdm scipy pymongo ];

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

  pythonImportsCheck = [ "hyperopt" ];

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