depot/third_party/nixpkgs/pkgs/development/python-modules/hyperopt/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

53 lines
956 B
Nix

{
lib,
buildPythonPackage,
cloudpickle,
fetchPypi,
future,
networkx,
numpy,
py4j,
pymongo,
pyspark,
scipy,
six,
tqdm,
}:
buildPythonPackage rec {
pname = "hyperopt";
version = "0.2.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149";
};
propagatedBuildInputs = [
cloudpickle
future
networkx
numpy
py4j
pymongo
pyspark
scipy
six
tqdm
];
# tries to use /homeless-shelter to mimic container usage, etc
doCheck = false;
pythonImportsCheck = [ "hyperopt" ];
meta = with lib; {
description = "Distributed Asynchronous Hyperparameter Optimization";
mainProgram = "hyperopt-mongo-worker";
homepage = "http://hyperopt.github.io/hyperopt/";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ freezeboy ];
};
}