python3Packages.hyperopt: init at 0.1.2

This commit is contained in:
freezeboy 2020-11-02 04:45:43 +01:00 committed by Jonathan Ringer
parent caa52ff72e
commit f671d7e191
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchPypi, buildPythonPackage
, cloudpickle, numpy, future, networkx
, six, tqdm, scipy, pymongo
}:
buildPythonPackage rec {
pname = "hyperopt";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "34xIpivBYUvcN/XMVwBkqTpLgaFlWWIduazuP2U2tlg=";
};
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 ];
};
}

View file

@ -2826,6 +2826,8 @@ in {
hyperlink = callPackage ../development/python-modules/hyperlink { };
hyperopt = callPackage ../development/python-modules/hyperopt { };
hypothesis_4 = callPackage ../development/python-modules/hypothesis/2.nix
{ }; # File name is called 2.nix because this one will need to remain for Python 2.