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

webcord: 4.11.1 -> 4.12.1 (#464349)

parents 49e20652 ee722a8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{
  # allow overriding electron
  electron_37,
  electron_39,
  webcord,
  replaceVars,
  lib,
@@ -8,7 +8,7 @@
}:

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

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

buildNpmPackage rec {
  pname = "webcord";
  version = "4.11.1";
  version = "4.12.1";

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

  npmDepsHash = "sha256-sREnthfmE01yzVwqMN6zbhTAquulztriytMSOcj3ZCo=";
  npmDepsHash = "sha256-quBWEO9mi/dYQDap6ivN8oxDfGcxedqS1E45ExmceE0=";

  makeCacheWritable = true;

@@ -55,7 +55,7 @@ buildNpmPackage 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_37}' $out/bin/webcord \
      makeWrapper '${lib.getExe electron_39}' $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/