3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #177838 from chuangzhu/gotktrix

gotktrix: add desktop file
This commit is contained in:
Sandro 2022-06-17 22:02:15 +02:00 committed by GitHub
commit 713fe88df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";