Unverified Commit d85d91e0 authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

webcord: 4.12.1 -> 4.13.0 (#507621)

parents 1ba89447 d937969e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{
  # allow overriding electron
  electron_39,
  electron_41,
  webcord,
  replaceVars,
  lib,
@@ -8,7 +8,7 @@
}:

# nixpkgs-update: no auto update
(webcord.override { inherit electron_39; }).overrideAttrs (old: {
(webcord.override { inherit electron_41; }).overrideAttrs (old: {
  pname = "webcord-vencord";

  patches = (old.patches or [ ]) ++ [
+5 −5
Original line number Diff line number Diff line
@@ -5,23 +5,23 @@
  copyDesktopItems,
  python3,
  xdg-utils,
  electron_39,
  electron_41,
  makeDesktopItem,
  nodejs_22,
}:

buildNpmPackage.override { nodejs = nodejs_22; } rec {
  pname = "webcord";
  version = "4.12.1";
  version = "4.13.0";

  src = fetchFromGitHub {
    owner = "SpacingBat3";
    repo = "WebCord";
    tag = "v${version}";
    hash = "sha256-wUlraWv23BRXag3MNqjQy9Ntwz9UO2jNsNt758+GUXo=";
    hash = "sha256-XUhaGZkHTLZlOuzh7aN9tIk7uBayiEID4MbmADhwvLs=";
  };

  npmDepsHash = "sha256-quBWEO9mi/dYQDap6ivN8oxDfGcxedqS1E45ExmceE0=";
  npmDepsHash = "sha256-KJMHQlCW/2AYG2Z0oshyMEvFiKsZgG4NKmsHMYrnyUE=";

  makeCacheWritable = true;

@@ -56,7 +56,7 @@ buildNpmPackage.override { nodejs = nodejs_22; } rec {
      install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png

      # Add xdg-utils to path via suffix, per PR #181171
      makeWrapper '${lib.getExe electron_39}' $out/bin/webcord \
      makeWrapper '${lib.getExe electron_41}' $out/bin/webcord \
        --suffix PATH : "${binPath}" \
        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
        --add-flags $out/lib/node_modules/webcord/