summaryrefslogtreecommitdiff
path: root/Omni/Bild/Python.nix
blob: 88abe94af8460bbe85a0bb5af7bfee55a6b13d6f (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
25
_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 { };
        ipython = dontCheck pysuper.ipython;
        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 { };
      };
  };
}