mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
55 lines
947 B
Nix
55 lines
947 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 ];
|
|
};
|
|
}
|