Unverified Commit b3cf14dc authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

open-webui: 0.3.18 -> 0.3.19 (#340039)

parents b39277ab 6889824f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,25 +7,25 @@
}:
let
  pname = "open-webui";
  version = "0.3.18-unstable-2024-09-05";
  version = "0.3.19";

  src = fetchFromGitHub {
    owner = "open-webui";
    repo = "open-webui";
    rev = "c3271e84efc281dfed8c1e2d265cd24e1e5865e6";
    hash = "sha256-yOLxpRgwTVPlQASzFqul+ap/s7Wx3uxf4xr+Xb2Nb7A=";
    rev = "refs/tags/v${version}";
    hash = "sha256-0POrTElR4oze9sypfsJrY8miBVK6JvHRDmzMhqntFA4=";
  };

  frontend = buildNpmPackage {
    inherit pname version src;

    npmDepsHash = "sha256-BkjvMD1XxELzxiPZagYd0aEUsaAl338h5W9nvxxrJJg=";
    npmDepsHash = "sha256-03F9Pz4RWoswdYh9lLEHtg5WitCsrG3JOa2S/RJDtZI=";

    # Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
    # Until this is solved, running python packages from the browser will not work.
    postPatch = ''
      substituteInPlace package.json \
        --replace-fail "npm run pyodide:fetch && vite build" "vite build" \
        --replace-fail "npm run pyodide:fetch && vite build" "vite build"
    '';

    env.CYPRESS_INSTALL_BINARY = "0"; # disallow cypress from downloading binaries in sandbox