16 stdenv.mkDerivation rec {
21 url = "https://github.com/cutls/TheDesk/releases/download/v${version}/${pname}_${version}_amd64.deb";
22 sha256 = "sha256-AdjygNnQ3qQB03cGcQ5EB0cY3XXWLrzfCqw/U8tq1Yo=";
48 # binary is not used and probably vulnerable to CVE(s)
49 rm $out/opt/TheDesk/thedesk
51 substituteInPlace $out/share/applications/thedesk.desktop \
52 --replace '/opt/TheDesk' $out/bin
54 makeWrapper ${electron}/bin/electron $out/bin/thedesk \
55 --add-flags $out/opt/TheDesk/resources/app.asar
61 description = "Mastodon/Misskey Client for PC";
62 homepage = "https://thedesk.top";
63 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
64 license = licenses.gpl3Only;
66 platforms = [ "x86_64-linux" ];
67 mainProgram = "thedesk";