2021-12-26 17:43:05 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cloudpickle
|
|
|
|
, fetchPypi
|
|
|
|
, future
|
|
|
|
, networkx
|
|
|
|
, numpy
|
|
|
|
, py4j
|
|
|
|
, pymongo
|
|
|
|
, pyspark
|
|
|
|
, scipy
|
|
|
|
, six
|
|
|
|
, tqdm
|
2020-11-09 15:59:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hyperopt";
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "0.2.7";
|
|
|
|
format = "setuptools";
|
2020-11-09 15:59:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149";
|
2020-11-09 15:59:12 +00:00
|
|
|
};
|
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
cloudpickle
|
|
|
|
future
|
|
|
|
networkx
|
|
|
|
numpy
|
|
|
|
py4j
|
|
|
|
pymongo
|
|
|
|
pyspark
|
|
|
|
scipy
|
|
|
|
six
|
|
|
|
tqdm
|
|
|
|
];
|
2020-11-09 15:59:12 +00:00
|
|
|
|
|
|
|
# tries to use /homeless-shelter to mimic container usage, etc
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"hyperopt"
|
|
|
|
];
|
2020-11-09 15:59:12 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 15:59:12 +00:00
|
|
|
description = "Distributed Asynchronous Hyperparameter Optimization";
|
2021-12-26 17:43:05 +00:00
|
|
|
homepage = "http://hyperopt.github.io/hyperopt/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
2020-11-09 15:59:12 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
};
|
|
|
|
}
|