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