pythonPackages.sklearn-deap: init at 0.2.2

This commit is contained in:
Assassinkin 2018-06-22 14:38:08 +01:00
parent bf1c28e978
commit 4d728b19f7
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, deap, scikitlearn, python }:
buildPythonPackage rec {
pname = "sklearn-deap";
version = "0.2.2";
# No tests in Pypi
src = fetchFromGitHub {
owner = "rsteca";
repo = pname;
rev = "${version}";
sha256 = "01ynmzxg181xhv2d7bs53zjvk9x2qpxix32sspq54mpigxh13ava";
};
propagatedBuildInputs = [ numpy scipy deap scikitlearn ];
#doCheck = false;
checkPhase = ''
${python.interpreter} test.py
'';
meta = with stdenv.lib; {
description = "Use evolutionary algorithms instead of gridsearch in scikit-learn";
homepage = https://github.com/rsteca/sklearn-deap;
license = licenses.lgpl3;
maintainers = with maintainers; [ psyanticy ];
};
}

View file

@ -464,6 +464,8 @@ in {
sip = callPackage ../development/python-modules/sip { };
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
spglib = callPackage ../development/python-modules/spglib { };
supervise_api = callPackage ../development/python-modules/supervise_api { };