pythonPackages.sklearn-deap: init at 0.2.2
This commit is contained in:
parent
bf1c28e978
commit
4d728b19f7
29
pkgs/development/python-modules/sklearn-deap/default.nix
Normal file
29
pkgs/development/python-modules/sklearn-deap/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue