Merge pull request #226512 from FlafyDev/webcord-upgrade-electron

webcord: 4.1.1 -> 4.2.0

authored by Pierre Bourdon and committed by GitHub 2208d9f7 15e8ee51

+6 -6
+6 -6
pkgs/applications/networking/instant-messengers/webcord/default.nix
··· 1 { lib, stdenv, buildNpmPackage, fetchFromGitHub, copyDesktopItems 2 - , python3, pipewire, libpulseaudio, xdg-utils, electron_22, makeDesktopItem }: 3 4 buildNpmPackage rec { 5 pname = "webcord"; 6 - version = "4.1.1"; 7 8 src = fetchFromGitHub { 9 owner = "SpacingBat3"; 10 repo = "WebCord"; 11 rev = "v${version}"; 12 - sha256 = "sha256-Buu7eKmI0UGV/9Kfj+urmDcjBtR9HSwW+mlHaYhfUa4="; 13 }; 14 15 - npmDepsHash = "sha256-PeoOoEljbkHynjZwocCWCTyYvIvSE1gQiABUzIiXEdM="; 16 17 nativeBuildInputs = [ 18 copyDesktopItems ··· 46 install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png 47 48 # Add xdg-utils to path via suffix, per PR #181171 49 - makeWrapper '${electron_22}/bin/electron' $out/bin/webcord \ 50 --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/webcord \ 51 --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \ 52 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}" \ ··· 73 changelog = "https://github.com/SpacingBat3/WebCord/releases/tag/v${version}"; 74 license = licenses.mit; 75 maintainers = with maintainers; [ huantian ]; 76 - platforms = electron_22.meta.platforms; 77 }; 78 }
··· 1 { lib, stdenv, buildNpmPackage, fetchFromGitHub, copyDesktopItems 2 + , python3, pipewire, libpulseaudio, xdg-utils, electron_24, makeDesktopItem }: 3 4 buildNpmPackage rec { 5 pname = "webcord"; 6 + version = "4.2.0"; 7 8 src = fetchFromGitHub { 9 owner = "SpacingBat3"; 10 repo = "WebCord"; 11 rev = "v${version}"; 12 + sha256 = "sha256-530iWNvehImwSYt5HnZaqa4TAslrwxAOZi3gRm1K2/w="; 13 }; 14 15 + npmDepsHash = "sha256-YguZtGn8CT4EqOQWS0GeNGBdZSC3Lj1gFR0ZiegWTJU="; 16 17 nativeBuildInputs = [ 18 copyDesktopItems ··· 46 install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png 47 48 # Add xdg-utils to path via suffix, per PR #181171 49 + makeWrapper '${electron_24}/bin/electron' $out/bin/webcord \ 50 --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/webcord \ 51 --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \ 52 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}" \ ··· 73 changelog = "https://github.com/SpacingBat3/WebCord/releases/tag/v${version}"; 74 license = licenses.mit; 75 maintainers = with maintainers; [ huantian ]; 76 + platforms = electron_24.meta.platforms; 77 }; 78 }