add python shit

This commit is contained in:
afoucaultc 2026-07-21 20:10:36 +02:00
commit 8c7024853c
755 changed files with 606 additions and 286846 deletions

View file

@ -0,0 +1,39 @@
{ 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
]
))
];
}