1 { appimageTools, fetchurl, lib }:
6 name = "${pname}-${version}";
9 url = "https://github.com/getstation/desktop-app-releases/releases/download/${version}/Station-${version}-x86_64.AppImage";
10 sha256 = "0lhiwvnf94is9klvzrqv2wri53gj8nms9lg2678bs4y58pvjxwid";
13 appimageContents = appimageTools.extractType2 {
16 in appimageTools.wrapType2 rec {
24 extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
25 extraInstallCommands = ''
26 mv $out/bin/{${name},${pname}}
27 install -m 444 -D ${appimageContents}/browserx.desktop $out/share/applications/browserx.desktop
28 install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/browserx.png \
29 $out/share/icons/hicolor/512x512/apps/browserx.png
30 substituteInPlace $out/share/applications/browserx.desktop \
31 --replace 'Exec=AppRun' 'Exec=${pname}'
35 description = "A single place for all of your web applications";
36 homepage = "https://getstation.com";
37 license = licenses.mit;
38 platforms = [ "x86_64-linux" ];
39 maintainers = with maintainers; [ ];
40 mainProgram = "station";