gtkcord4: 0.0.6 -> 0.0.8
This commit is contained in:
parent
56f5f40f81
commit
862d70f7b3
|
@ -5,24 +5,27 @@
|
|||
, glib
|
||||
, gobject-introspection
|
||||
, graphene
|
||||
, gst_all_1
|
||||
, gtk4
|
||||
, lib
|
||||
, libadwaita
|
||||
, libcanberra-gtk3
|
||||
, pango
|
||||
, pkg-config
|
||||
, sound-theme-freedesktop
|
||||
, withLibadwaita ? false
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gtkcord4";
|
||||
version = "0.0.6";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diamondburned";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-uEG1pAHMQT+C/E5rKByflvL0NNkC8SeSPMAXanzvhE4=";
|
||||
hash = "sha256-aJRVk9KFCJbIFInkg5BCJ6ygBlDCFF53WXO9qyACFus=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,6 +41,14 @@ buildGoModule rec {
|
|||
graphene
|
||||
gtk4
|
||||
pango
|
||||
# Optional according to upstream but required for sound and video
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gstreamer
|
||||
libcanberra-gtk3
|
||||
sound-theme-freedesktop
|
||||
] ++ lib.optionals withLibadwaita [
|
||||
libadwaita
|
||||
];
|
||||
|
@ -45,12 +56,12 @@ buildGoModule rec {
|
|||
tags = lib.optionals withLibadwaita [ "libadwaita" ];
|
||||
|
||||
postInstall = ''
|
||||
install -D -m 444 -t $out/share/applications .nix/com.github.diamondburned.gtkcord4.desktop
|
||||
install -D -m 444 -t $out/share/applications nix/xyz.diamondb.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=";
|
||||
vendorHash = "sha256-usnlaOqyMd8rdnFpuCqfaCES8bPaB+NbdL4pFybKJbM=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK4 Discord client in Go, attempt #4.";
|
||||
|
|
Loading…
Reference in a new issue