summaryrefslogtreecommitdiff
path: root/Omni/Bild/Python.nix
blob: 23e9ecd41dce2bdcfc5de93a08f056b002df091c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
_self: super: {
  python312 = super.python312.override {
    packageOverrides = _pyself: pysuper:
      with pysuper.pkgs.python312Packages;
      let dontCheck = p: p.overridePythonAttrs (_: { doCheck = false; });
      in {
        interegular = callPackage ./Deps/interegular.nix { };
        ludic = callPackage ./Deps/ludic.nix { };
        mypy = dontCheck pysuper.mypy;
        outlines = callPackage ./Deps/outlines.nix { };
        perscache = callPackage ./Deps/perscache.nix { };
        tokenizers = dontCheck pysuper.tokenizers;
      };
  };

  python311 = super.python311.override {
    packageOverrides = _pyself: pysuper:
      with pysuper.pkgs.python311Packages; {
        llm-ollama = callPackage ./Deps/llm-ollama.nix { };
        llm-sentence-transformers =
          callPackage ./Deps/llm-sentence-transformers.nix { };
      };
  };
}