From da60aa7e7a642be2b74a34ab769294781db0c7a1 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Wed, 2 Sep 2026 14:33:41 -0400 Subject: [PATCH] streamlink-twitch-gui-bin: drop --- .../video/streamlink-twitch-gui/bin.nix | 159 ------------------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 161 deletions(-) delete mode 100644 pkgs/applications/video/streamlink-twitch-gui/bin.nix diff --git a/pkgs/applications/video/streamlink-twitch-gui/bin.nix b/pkgs/applications/video/streamlink-twitch-gui/bin.nix deleted file mode 100644 index 006b2635f597..000000000000 --- a/pkgs/applications/video/streamlink-twitch-gui/bin.nix +++ /dev/null @@ -1,159 +0,0 @@ -{ - autoPatchelfHook, - fetchurl, - lib, - copyDesktopItems, - makeDesktopItem, - makeWrapper, - stdenv, - wrapGAppsHook3, - at-spi2-core, - atk, - alsa-lib, - cairo, - cups, - dbus, - expat, - gcc-unwrapped, - gdk-pixbuf, - glib, - pango, - gtk3-x11, - libudev0-shim, - libuuid, - libgbm, - nss, - nspr, - libxtst, - libxscrnsaver, - libxrender, - libxrandr, - libxi, - libxfixes, - libxext, - libxdamage, - libxcursor, - libxcomposite, - libx11, - libxcb, - streamlink, -}: -let - basename = "streamlink-twitch-gui"; - runtimeLibs = lib.makeLibraryPath [ - gtk3-x11 - libudev0-shim - ]; - runtimeBins = lib.makeBinPath [ streamlink ]; - -in -stdenv.mkDerivation rec { - pname = "${basename}-bin"; - version = "2.5.3"; - - src = - { - x86_64-linux = fetchurl { - url = "https://github.com/streamlink/${basename}/releases/download/v${version}/${basename}-v${version}-linux64.tar.gz"; - hash = "sha256-ue5Ehj/dLOIJNJVq0Pd6EbA1hkVPz5m+3chVvEXaH6U="; - }; - i686-linux = fetchurl { - url = "https://github.com/streamlink/${basename}/releases/download/v${version}/${basename}-v${version}-linux32.tar.gz"; - hash = "sha256-y252QhVsRakngdApOHgegMMhs61KTxL9gfPjBjaSKOI="; - }; - } - .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); - - nativeBuildInputs = [ - at-spi2-core - atk - alsa-lib - autoPatchelfHook - cairo - copyDesktopItems - cups.lib - dbus.lib - expat - gcc-unwrapped - gdk-pixbuf - glib - pango - gtk3-x11 - libgbm - nss - nspr - libuuid - libx11 - libxcb - libxcomposite - libxcursor - libxdamage - libxext - libxfixes - libxi - libxrandr - libxrender - libxscrnsaver - libxtst - makeWrapper - wrapGAppsHook3 - ]; - - buildInputs = [ streamlink ]; - - dontBuild = true; - dontConfigure = true; - - installPhase = '' - runHook preInstall - mkdir -p $out/{bin,opt/${basename},share} - - # Install all files, remove unnecessary ones - cp -a . $out/opt/${basename}/ - rm -r $out/opt/${basename}/{{add,remove}-menuitem.sh,credits.html,icons/} - ln -s $out/opt/${basename}/${basename} $out/bin/ - for res in 16 32 48 64 128 256; do - install -Dm644 \ - icons/icon-"$res".png \ - $out/share/icons/hicolor/"$res"x"$res"/apps/${basename}.png - done - runHook postInstall - ''; - - preFixup = '' - gappsWrapperArgs+=( - --add-flags "--no-version-check" \ - --prefix LD_LIBRARY_PATH : ${runtimeLibs} \ - --prefix PATH : ${runtimeBins} - ) - ''; - - desktopItems = [ - (makeDesktopItem { - name = basename; - exec = basename; - icon = basename; - desktopName = "Streamlink Twitch GUI"; - genericName = meta.description; - categories = [ - "AudioVideo" - "Network" - ]; - }) - ]; - - meta = { - description = "Twitch.tv browser for Streamlink"; - longDescription = "Browse Twitch.tv and watch streams in your videoplayer of choice"; - homepage = "https://streamlink.github.io/streamlink-twitch-gui/"; - downloadPage = "https://github.com/streamlink/streamlink-twitch-gui/releases"; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - license = lib.licenses.mit; - mainProgram = "streamlink-twitch-gui"; - maintainers = [ ]; - platforms = [ - "x86_64-linux" - "i686-linux" - ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a086ec1d5fc9..d8ff6273c1d6 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2324,6 +2324,7 @@ mapAliases { stract = throw "'stract' has been removed because the upstream project was archived on 2026-04-02"; # Added 2026-07-28 strawberry-qt5 = throw "strawberry-qt5 has been replaced by strawberry"; # Converted to throw 2025-07-19 strawberry-qt6 = throw "strawberry-qt6 has been replaced by strawberry"; # Added 2025-07-19 + streamlink-twitch-gui-bin = throw "'streamlink-twitch-gui-bin' has be removed due to lack on maintence and insecure electron"; # Added 2026-09-02 stremio = throw "'stremio' has been removed as it depended on the vulnerable and outdated qt5 webengine. On Linux, consider using 'stremio-linux-shell' instead."; # Added 2026-02-11 stringsWithDeps = warnAlias "'stringsWithDeps' has been removed from pkgs, use `lib.stringsWithDeps` instead" lib.stringsWithDeps; # Added 2025-10-30 subberthehut = throw "'subberthehut' has been removed as it was unmaintained upstream"; # Added 2025-05-17 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ec92562a1abc..f0d3d8dc53e6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6708,8 +6708,6 @@ with pkgs; stlink-gui = callPackage ../by-name/st/stlink/package.nix { withGUI = true; }; - streamlink-twitch-gui-bin = callPackage ../applications/video/streamlink-twitch-gui/bin.nix { }; - szurubooru = callPackage ../servers/web-apps/szurubooru { }; tclap = tclap_1_2;