Merge pull request #290070 from rafaelrc7/stremio/missing-dependencies

stremio: add ffmpeg as runtime dependency to PATH
This commit is contained in:
kirillrdy 2024-03-22 20:29:30 +11:00 committed by GitHub
commit b58ef707f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,14 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, qmake, wrapQtAppsHook
, mpv, qtwebengine, qtwebchannel, nodejs
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, ffmpeg
, mpv
, nodejs
, qmake
, qtwebchannel
, qtwebengine
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
@ -30,6 +39,8 @@ stdenv.mkDerivation rec {
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 = with lib; {