13 buildPythonPackage rec {
14 pname = "sklearn-deap";
16 format = "setuptools";
19 src = fetchFromGitHub {
21 repo = "sklearn-deap";
23 hash = "sha256-bXBHlv1pIOyDLKCBeffyHaTZ7gNiZNl0soa73e8E4/M=";
27 # Fix for scikit-learn v1.1. See: https://github.com/rsteca/sklearn-deap/pull/80
29 url = "https://github.com/rsteca/sklearn-deap/commit/3b84bd905796378dd845f99e083da17284c9ff6f.patch";
30 hash = "sha256-YYLw0uzecyIbdNAy/CxxWDV67zJbZZhUMypnDm/zNGs=";
33 url = "https://github.com/rsteca/sklearn-deap/commit/2f60e215c834f60966b4e51df25e91939a72b952.patch";
34 hash = "sha256-vn5nLPwwkjsQrp3q7C7Z230lkgRiyJN0TQxO8Apizg8=";
38 propagatedBuildInputs = [
45 nativeCheckInputs = [ unittestCheckHook ];
47 pythonImportsCheck = [ "evolutionary_search" ];
50 description = "Use evolutionary algorithms instead of gridsearch in scikit-learn";
51 homepage = "https://github.com/rsteca/sklearn-deap";
52 license = licenses.mit;
53 maintainers = with maintainers; [ psyanticy ];