2020-11-09 15:59:12 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, cloudpickle, numpy, future, networkx
|
|
|
|
, six, tqdm, scipy, pymongo
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hyperopt";
|
2020-11-15 13:44:38 +00:00
|
|
|
version = "0.2.5";
|
2020-11-09 15:59:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-15 13:44:38 +00:00
|
|
|
sha256 = "bc6047d50f956ae64eebcb34b1fd40f186a93e214957f20e87af2f10195295cc";
|
2020-11-09 15:59:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|