2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2020-11-09 15:59:12 +00:00
|
|
|
, 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" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 15:59:12 +00:00
|
|
|
description = "Distributed Asynchronous Hyperparameter Optimization";
|
|
|
|
homepage = "http://hyperopt.github.com/hyperopt/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
};
|
|
|
|
}
|