11 # Using archive.org because the website doesn't store older versions of the software.
12 url = "https://web.archive.org/web/20240601173958/https%3A%2F%2Fdesktop.clickup.com%2Flinux";
13 hash = "sha256-jAOYDX9j+ZTqWsSg0rEckKZnErgsIV6+CtUv3M3wNqM=";
16 appimageContents = appimageTools.extractType2 { inherit pname version src; };
18 appimageTools.wrapType2 {
19 inherit pname version src;
21 extraPkgs = pkgs: [ pkgs.xorg.libxkbfile ];
23 extraInstallCommands = ''
24 install -m 444 -D ${appimageContents}/desktop.desktop $out/share/applications/clickup.desktop
26 substituteInPlace $out/share/applications/clickup.desktop \
27 --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=clickup' \
28 --replace-fail 'Icon=desktop' 'Icon=clickup'
30 for size in 16 32 64 128 256 512 1024; do
31 install -Dm444 ${appimageContents}/usr/share/icons/hicolor/''${size}x''${size}/apps/desktop.png \
32 -t $out/share/icons/hicolor/''${size}x''${size}/apps/clickup.png
37 description = "All in one project management solution";
38 homepage = "https://clickup.com";
39 license = lib.licenses.unfree;
40 mainProgram = "clickup";
41 maintainers = with lib.maintainers; [ heisfer ];
42 platforms = [ "x86_64-linux" ];