{ pkgs, ... }: let python = pkgs.python3.override { packageOverrides = pyfinal: pyprev: { slicer = pyprev.slicer.overridePythonAttrs (old: { doCheck = false; # la suite de tests casse sur cette combinaison build-system = (old.build-system or [ ]) ++ [ pyfinal.setuptools pyfinal.wheel ]; }); shap = pyprev.shap.overridePythonAttrs (old: { dependencies = (old.dependencies or [ ]) ++ [ pyfinal.typing-extensions ]; }); }; }; in { home.packages = [ (python.withPackages ( ps: with ps; [ numpy pandas matplotlib cycler scipy scikit-learn xgboost lightgbm shap pynvim debugpy ] )) ]; }