22 lines
860 B
Nix
22 lines
860 B
Nix
{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;
|
|
})
|
|
];
|
|
};
|
|
}
|