29 stdenvNoCC.mkDerivation rec {
30 pname = "multiviewer-for-f1";
34 url = "https://releases.multiviewer.dev/download/${id}/multiviewer-for-f1_${version}_amd64.deb";
35 sha256 = "sha256-b9Sx5Zcn+zQ9yFwrosHp1bTENByhBUU3VJfZA2HPoPU=";
75 # The deb file contains a setuid binary, so 'dpkg -x' doesn't work here
76 dpkg --fsys-tarfile $src | tar --extract
84 mkdir -p $out/bin $out/share
85 mv -t $out/share usr/share/* usr/lib/multiviewer-for-f1
87 makeWrapper "$out/share/multiviewer-for-f1/MultiViewer for F1" $out/bin/multiviewer-for-f1 \
88 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
89 --prefix LD_LIBRARY_PATH : "${
90 lib.makeLibraryPath [ libudev0-shim ]
91 }:\"$out/share/Multiviewer for F1\""
97 description = "Unofficial desktop client for F1 TVĀ®";
98 homepage = "https://multiviewer.app";
99 downloadPage = "https://multiviewer.app/download";
100 license = licenses.unfree;
101 maintainers = with maintainers; [ babeuh ];
102 platforms = [ "x86_64-linux" ];
103 mainProgram = "multiviewer-for-f1";