summaryrefslogtreecommitdiff
path: root/Biz/Bild/Python.nix
blob: 5569352d97876ebc9c0bcee4b742184048d00bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
_self: super: {
  python3 = super.python3.override {
    packageOverrides = _pyself: pysuper:
      with pysuper.pkgs.python3Packages;
      let dontCheck = p: p.overridePythonAttrs (_: { doCheck = false; });
      in {
        exllama = callPackage ./Deps/exllama.nix { };
        exllamav2 = callPackage ./Deps/exllamav2.nix { };
        interegular = callPackage ./Deps/interegular.nix { };
        mypy = dontCheck pysuper.mypy;
        outlines = callPackage ./Deps/outlines.nix { };
        perscache = callPackage ./Deps/perscache.nix { };
        safetensors = super.nixos-23_11.python310Packages.safetensors.override {
          buildPythonPackage = pysuper.pkgs.python3Packages.buildPythonPackage;
        };
        tokenizers = dontCheck pysuper.tokenizers;
      };
  };
}