mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
Merge pull request #177838 from chuangzhu/gotktrix
gotktrix: add desktop file
This commit is contained in:
commit
713fe88df9
@ -32,6 +32,12 @@ buildGoModule rec {
|
|||||||
# Checking requires a working display
|
# Checking requires a working display
|
||||||
doCheck = false;
|
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; {
|
meta = with lib; {
|
||||||
description = "Matrix client written in Go using GTK4";
|
description = "Matrix client written in Go using GTK4";
|
||||||
homepage = "https://github.com/diamondburned/gotktrix";
|
homepage = "https://github.com/diamondburned/gotktrix";
|
||||||
|
Loading…
Reference in New Issue
Block a user