Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.4 KiB
Nix
51 lines
1.4 KiB
Nix
{
|
|
appimageTools,
|
|
lib,
|
|
fetchurl,
|
|
makeDesktopItem,
|
|
}:
|
|
|
|
let
|
|
pname = "rambox";
|
|
version = "2.5.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
|
|
hash = "sha256-jtROOwqht/3j5h9SZx0UmGj5iKrQeSsXe7XvQnPhxuM=";
|
|
};
|
|
|
|
desktopItem = (
|
|
makeDesktopItem {
|
|
desktopName = "Rambox";
|
|
name = pname;
|
|
exec = "rambox";
|
|
icon = pname;
|
|
categories = [ "Network" ];
|
|
}
|
|
);
|
|
|
|
appimageContents = appimageTools.extract {
|
|
inherit pname version src;
|
|
};
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraInstallCommands = ''
|
|
mkdir -p $out/share/applications $out/share/icons/hicolor/256x256/apps
|
|
install -Dm644 ${appimageContents}/usr/share/icons/hicolor/256x256/apps/rambox*.png $out/share/icons/hicolor/256x256/apps/${pname}.png
|
|
install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
|
|
'';
|
|
|
|
extraPkgs = pkgs: [ pkgs.procps ];
|
|
|
|
meta = with lib; {
|
|
description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles";
|
|
homepage = "https://rambox.app";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ nazarewk ];
|
|
platforms = [ "x86_64-linux" ];
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|