stremio: drop

stremio still depends on `qt5.qtwebengine`, which is vulnerable and
unmaintained upstream since April 2025.
This commit is contained in:
Tom Hunze
2026-03-06 13:58:51 +01:00
parent 2a75bb5a0a
commit ca33af68b2
2 changed files with 1 additions and 69 deletions
-69
View File
@@ -1,69 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchurl,
libsForQt5,
ffmpeg,
mpv,
nodejs,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "stremio-shell";
version = "4.4.168";
src = fetchFromGitHub {
owner = "Stremio";
repo = "stremio-shell";
tag = "v${finalAttrs.version}";
hash = "sha256-pz1mie0kJov06GcyitvZu5Gg0Vz3YnigjDqFujGKqZM=";
fetchSubmodules = true;
meta.license = lib.licenses.gpl3Only;
};
# check server-url.txt
server = fetchurl rec {
pname = "stremio-server";
version = "4.20.8";
url = "https://dl.strem.io/server/v${version}/desktop/server.js";
hash = "sha256-cRMgD1d1yVj9FBvFAqgIqwDr+7U3maE8OrCsqExftHY=";
meta.license = lib.licenses.unfree;
};
buildInputs = [
libsForQt5.qt5.qtwebengine
mpv
];
nativeBuildInputs = [
libsForQt5.qmake
libsForQt5.qt5.wrapQtAppsHook
];
postInstall = ''
mkdir -p $out/{bin,share/applications}
ln -s $out/opt/stremio/stremio $out/bin/stremio
mv $out/opt/stremio/smartcode-stremio.desktop $out/share/applications
install -Dm 644 images/stremio_window.png $out/share/pixmaps/smartcode-stremio.png
ln -s ${nodejs}/bin/node $out/opt/stremio/node
ln -s $server $out/opt/stremio/server.js
wrapProgram $out/bin/stremio \
--suffix PATH ":" ${lib.makeBinPath [ ffmpeg ]}
'';
meta = {
mainProgram = "stremio";
description = "Modern media center that gives you the freedom to watch everything you want";
homepage = "https://www.stremio.com/";
# (Server-side) 4.x versions of the web UI are closed-source
license = with lib.licenses; [
gpl3Only
# server.js is unfree
unfree
];
maintainers = with lib.maintainers; [
griffi-gh
];
platforms = lib.platforms.linux;
};
})
+1
View File
@@ -1846,6 +1846,7 @@ mapAliases {
StormLib = throw "'StormLib' has been renamed to/replaced by 'stormlib'"; # Converted to throw 2025-10-27
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
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
sublime-music = throw "`sublime-music` has been removed because upstream has announced it is no longer maintained. Upstream suggests using `supersonic` instead."; # Added 2025-09-20