diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-25 21:55:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 21:55:16 +0100 |
commit | 6321501c438cdd8c94e4e0d5ff929abb2e85e49b (patch) | |
tree | 09536040270df64c4b4e56448ec814d71b5b89bf /pkgs/applications/audio | |
parent | 35af03c6fdaa0065de5c9b34152d2148bbc2874e (diff) | |
parent | f2a5bc37a0d0e4d01e5ada9053fd968ec27587fe (diff) |
Merge pull request #205632 from hmenke/gtkcord4
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/gtkcord4/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/audio/gtkcord4/default.nix b/pkgs/applications/audio/gtkcord4/default.nix index 99005937a142e..5611407cfe913 100644 --- a/pkgs/applications/audio/gtkcord4/default.nix +++ b/pkgs/applications/audio/gtkcord4/default.nix @@ -7,8 +7,10 @@ , graphene , gtk4 , lib +, libadwaita , pango , pkg-config +, withLibadwaita ? false , wrapGAppsHook4 }: @@ -36,8 +38,18 @@ buildGoModule rec { graphene gtk4 pango + ] ++ lib.optionals withLibadwaita [ + libadwaita ]; + tags = lib.optionals withLibadwaita [ "libadwaita" ]; + + postInstall = '' + install -D -m 444 -t $out/share/applications .nix/com.github.diamondburned.gtkcord4.desktop + install -D -m 444 internal/icons/svg/logo.svg $out/share/icons/hicolor/scalable/apps/gtkcord4.svg + install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png + ''; + vendorHash = "sha256-QZSjSk1xu5ZcrNEra5TxnUVvlQWb5/h31fm5Nc7WMoI="; meta = with lib; { |