refactor: made pkgs dendrites

This commit is contained in:
Leyla Becker 2026-04-07 08:45:11 -05:00
parent 88041e86bd
commit df8dd110ad
54 changed files with 1184 additions and 1058 deletions

View file

@ -0,0 +1,22 @@
{config, ...}: let
pkg = config.flake.commonModules;
in {
flake.commonModules.python = {...}: {
nixpkgs.overlays = [
(final: prev: {
python3 = prev.python3.override {
packageOverrides = pythonPrev: pythonFinal: {
h3 = pythonPrev.callPackage pkg.python-h3 {h3 = final.h3;};
pygeofilter = pythonPrev.callPackage pkg.python-pygeofilter {};
pygeoif = pythonPrev.callPackage pkg.python-pygeoif {};
rfeed = pythonPrev.callPackage pkg.python-rfeed {};
pyexiv2 = pythonPrev.callPackage pkg.python-pyexiv2 {};
geojson-pydantic = pythonPrev.callPackage pkg.python-geojson-pydantic {};
geopic-tag-reader = pythonPrev.callPackage pkg.python-geopic-tag-reader {};
};
};
python3Packages = final.python3.pkgs;
})
];
};
}