refactor: made pkgs dendrites
This commit is contained in:
parent
88041e86bd
commit
df8dd110ad
54 changed files with 1184 additions and 1058 deletions
22
modules/nixos/pkgs/python/default.nix
Normal file
22
modules/nixos/pkgs/python/default.nix
Normal 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;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue