From ed8a9d41f64caaa9878ed4665c042f7682e49092 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 3 Sep 2026 02:05:59 +0200 Subject: [PATCH] popcorntime: drop package --- pkgs/by-name/po/popcorntime/package.nix | 109 ------------------------ pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 109 deletions(-) delete mode 100644 pkgs/by-name/po/popcorntime/package.nix diff --git a/pkgs/by-name/po/popcorntime/package.nix b/pkgs/by-name/po/popcorntime/package.nix deleted file mode 100644 index b32d14d030ad..000000000000 --- a/pkgs/by-name/po/popcorntime/package.nix +++ /dev/null @@ -1,109 +0,0 @@ -{ - autoPatchelfHook, - fetchurl, - gcc-unwrapped, - gsettings-desktop-schemas, - gtk3, - lib, - libGL, - makeDesktopItem, - makeWrapper, - nwjs, - stdenv, - unzip, - udev, - wrapGAppsHook3, - copyDesktopItems, -}: - -stdenv.mkDerivation rec { - pname = "popcorntime"; - version = "0.5.1"; - - src = fetchurl { - url = "https://github.com/popcorn-official/popcorn-desktop/releases/download/v${version}/Popcorn-Time-${version}-linux64.zip"; - hash = "sha256-lCsIioR252GWP/+wNwkTw5PLSal/M9x6mlR/EKOd/hs="; - }; - - nativeBuildInputs = [ - autoPatchelfHook - makeWrapper - unzip - wrapGAppsHook3 - copyDesktopItems - ]; - - buildInputs = [ - gcc-unwrapped - gsettings-desktop-schemas - gtk3 - nwjs - udev - ]; - - sourceRoot = "."; - - dontWrapGApps = true; - dontUnpack = true; - - makeWrapperArgs = [ - "--prefix LD_LIBRARY_PATH : ${ - lib.makeLibraryPath [ - gcc-unwrapped.lib - gtk3 - udev - libGL - ] - }" - "--prefix PATH : ${lib.makeBinPath [ stdenv.cc ]}" - ]; - - desktopItem = makeDesktopItem { - name = pname; - exec = pname; - icon = pname; - comment = meta.description; - genericName = meta.description; - type = "Application"; - desktopName = "Popcorn-Time"; - categories = [ - "Video" - "AudioVideo" - ]; - }; - - # Extract and copy executable in $out/bin - installPhase = '' - mkdir -p $out/share/applications $out/bin $out/opt/bin $out/share/icons/hicolor/scalable/apps/ - # we can't unzip it in $out/lib, because nw.js will start with - # an empty screen. Therefore it will be unzipped in a non-typical - # folder and symlinked. - unzip -q $src -d $out/opt/popcorntime - - ln -s $out/opt/popcorntime/Popcorn-Time $out/bin/popcorntime - - ln -s $out/opt/popcorntime/src/app/images/icon.png $out/share/icons/hicolor/scalable/apps/popcorntime.png - - ln -s ${desktopItem}/share/applications/popcorntime.desktop $out/share/applications/popcorntime.desktop - ''; - - # GSETTINGS_SCHEMAS_PATH is not set in installPhase - preFixup = '' - wrapProgram $out/bin/popcorntime \ - ''${makeWrapperArgs[@]} \ - ''${gappsWrapperArgs[@]} - ''; - - meta = { - homepage = "https://github.com/popcorn-official/popcorn-desktop"; - description = "Application that streams movies and TV shows from torrents"; - platforms = [ "x86_64-linux" ]; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ onny ]; - mainProgram = "popcorntime"; - knownVulnerabilities = [ - "Uses vendored Electron 6, EOL on May 18, 2020 with many CVEs" - ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 35cbb274e051..1750c6cfc694 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2039,6 +2039,7 @@ mapAliases { polyml57 = throw "'polyml57' has been deprecated in favor of polyml"; # Added 2026-06-01 polypane = throw "'polypane' has been removed due to lack of maintenance in nixpkgs"; # Added 2025-06-25 pop-gtk-theme = throw "'pop-gtk-theme' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22 + popcorntime = throw "'popcorntime' has been removed since the upstream project has been forked"; # Added 2026-09-03 poppler_utils = throw "'poppler_utils' has been renamed to/replaced by 'poppler-utils'"; # Converted to throw 2025-10-27 popura = throw "'popura' is abandoned upstream and in nixpkgs and has been removed"; # Added 2026-01-15 posterazor = throw "posterazor was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23