17 , gobject-introspection
30 # clapper support is still experimental and has bugs.
31 # See https://github.com/GeopJr/Tuba/pull/931
32 , clapperSupport? false
36 stdenv.mkDerivation rec {
40 src = fetchFromGitHub {
44 hash = "sha256-PRzLTlq8XfI5dYZhJ8YBtYi4H3883S2olp9jrn1Q5CQ=";
72 ] ++ (with gst_all_1; [
76 (gst-plugins-good.override { gtkSupport = true; })
78 ]) ++ lib.optionals clapperSupport [
83 (lib.mesonBool "clapper" clapperSupport)
86 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=int-conversion";
89 updateScript = nix-update-script { };
92 # Pull in WebP support for avatars from Misskey instances.
93 # In postInstall to run before gappsWrapperArgsHook.
95 export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
104 description = "Browse the Fediverse";
105 homepage = "https://tuba.geopjr.dev/";
106 mainProgram = "dev.geopjr.Tuba";
107 license = lib.licenses.gpl3Only;
108 changelog = "https://github.com/GeopJr/Tuba/releases/tag/v${version}";
109 maintainers = with lib.maintainers; [ chuangzhu aleksana donovanglover ];