summaryrefslogtreecommitdiff
path: root/Omni/Bild/Python.nix
blob: 035b11cc85734cc848105a6158d2289ba62c42e2 (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 {};
      };
  };
}