gotktrix: add desktop file

This commit is contained in:
Chuang Zhu 2022-06-16 12:16:06 +08:00
parent 9bf1432121
commit bdf134d02e

View File

@ -32,6 +32,12 @@ buildGoModule rec {
# Checking requires a working display
doCheck = false;
postInstall = ''
echo 'X-Purism-FormFactor=Workstation;Mobile;' >> .nix/com.github.diamondburned.gotktrix.desktop
install -Dm444 .nix/com.github.diamondburned.gotktrix.desktop -t $out/share/applications/
install -Dm444 .github/logo-256.png -T $out/share/icons/hicolor/256x256/apps/gotktrix.png
'';
meta = with lib; {
description = "Matrix client written in Go using GTK4";
homepage = "https://github.com/diamondburned/gotktrix";