14 stdenv.mkDerivation rec {
15 pname = "holochain-launcher";
17 prerelease = "beta-2";
20 url = "https://github.com/holochain/launcher/releases/download/v${version}/holochain-launcher-${prerelease}_${version}_amd64.deb";
21 sha256 = "sha256-MRFQJRfvJ+dLmPDfPQX9wErIwEr07EAUqxic8kbKVdo=";
27 wrapGAppsHook3 # required for FileChooser
38 unpackCmd = "dpkg-deb -x $curSrc source";
42 mv $out/bin/holochain-launcher-${prerelease} $out/bin/holochain-launcher
46 patchelf --add-needed "libappindicator3.so" "$out/bin/holochain-launcher"
48 # without this the DevTools will just display an unparsed HTML file (see https://github.com/tauri-apps/tauri/issues/5711#issuecomment-1336409601)
50 --prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
51 --set WEBKIT_DISABLE_COMPOSITING_MODE 1
56 description = "Cross-platform executable that launches a local Holochain conductor, and installs and opens apps";
57 homepage = "https://github.com/holochain/launcher";
58 maintainers = [ maintainers.steveej ];
59 license = licenses.cal10;
60 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
61 platforms = platforms.linux;