1 { appimageTools, lib, fetchurl, makeDesktopItem }:
8 url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
9 hash = "sha256-ndFv5rNTWyqrGGC8t1JNR+bQC0Jsit4I9p4ng7h/gcU=";
12 desktopItem = (makeDesktopItem {
13 desktopName = "Rambox";
17 categories = [ "Network" ];
20 appimageContents = appimageTools.extract {
21 inherit pname version src;
24 appimageTools.wrapType2 {
25 inherit pname version src;
27 extraInstallCommands = ''
28 mkdir -p $out/share/applications $out/share/icons/hicolor/256x256/apps
29 install -Dm644 ${appimageContents}/usr/share/icons/hicolor/256x256/apps/rambox*.png $out/share/icons/hicolor/256x256/apps/${pname}.png
30 install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
33 extraPkgs = pkgs: [ pkgs.procps ];
36 description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles";
37 homepage = "https://rambox.app";
38 license = licenses.unfree;
39 maintainers = with maintainers; [ nazarewk ];
40 platforms = [ "x86_64-linux" ];
41 sourceProvenance = with sourceTypes; [ binaryNativeCode ];