3 , gobject-introspection
9 , sound-theme-freedesktop
19 src = fetchFromGitHub {
20 owner = "diamondburned";
23 hash = "sha256-wBDN9eUPOr9skTTgA0ea50Byta3qVr1loRrfMWhnxP8=";
33 # Optional according to upstream but required for sound and video
34 gst_all_1.gst-plugins-bad
35 gst_all_1.gst-plugins-base
36 gst_all_1.gst-plugins-good
37 gst_all_1.gst-plugins-ugly
41 sound-theme-freedesktop
47 substituteInPlace nix/so.libdb.dissent.service \
48 --replace-warn "/usr/bin/dissent" "$out/bin/dissent"
49 install -D -m 444 -t $out/share/applications nix/so.libdb.dissent.desktop
50 install -D -m 444 -t $out/share/icons/hicolor/scalable/apps internal/icons/hicolor/scalable/apps/so.libdb.dissent.svg
51 install -D -m 444 -t $out/share/icons/hicolor/symbolic/apps internal/icons/symbolic/apps/so.libdb.dissent-symbolic.svg
52 install -D -m 444 -t $out/share/metainfo so.libdb.dissent.metainfo.xml
53 install -D -m 444 -t $out/share/dbus-1/services nix/so.libdb.dissent.service
56 vendorHash = "sha256-TXqdO+DjnDD/+zwm3gK3+sxMTEVSHuceKz4ZJVH5Y34=";
59 description = "A third-party Discord client designed for a smooth, native experience (formerly gtkcord4)";
60 homepage = "https://github.com/diamondburned/dissent";
61 license = with licenses; [ gpl3Plus cc0 ];
62 mainProgram = "dissent";
63 maintainers = with maintainers; [ hmenke urandom aleksana ];