summary refs log tree commit diff
path: root/pkgs/development/python-modules/hyperopt/default.nix
blob: ba4aeef402ec437128028163faf8e1fdca63cfaa (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
{ lib, stdenv, fetchPypi, buildPythonPackage
, cloudpickle, numpy, future, networkx
, six, tqdm, scipy, pymongo
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "bc6047d50f956ae64eebcb34b1fd40f186a93e214957f20e87af2f10195295cc";
  };

  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 lib; {
    description = "Distributed Asynchronous Hyperparameter Optimization";
    homepage    = "http://hyperopt.github.com/hyperopt/";
    license     = licenses.bsd2;
    platforms   = platforms.unix;
    maintainers = with maintainers; [ freezeboy ];
  };
}