{ lib , buildGoModule , fetchgit , unstableGitUpdater }: buildGoModule { pname = "bloat"; version = "unstable-2023-09-18"; src = fetchgit { url = "git://git.freesoftwareextremist.com/bloat"; rev = "e50f12b6158ffae6b0b59f2902798ae86d263b5d"; hash = "sha256-vejk2f/FC0gS8t16u37pVgp2qzaGRXfcEYzqyP+QbGY="; }; vendorHash = null; postInstall = '' mkdir -p $out/share/bloat cp -r templates $out/share/bloat/templates cp -r static $out/share/bloat/static sed \ -e "s%=templates%=$out/share/bloat/templates%g" \ -e "s%=static%=$out/share/bloat/static%g" \ < bloat.conf > $out/share/bloat/bloat.conf.example ''; passthru.updateScript = unstableGitUpdater { }; meta = with lib; { description = "A web client for Pleroma and Mastodon"; longDescription = '' A lightweight web client for Pleroma and Mastodon. Does not require JavaScript to display text, images, audio and videos. ''; homepage = "https://bloat.freesoftwareextremist.com"; downloadPage = "https://git.freesoftwareextremist.com/bloat/"; license = licenses.cc0; maintainers = with maintainers; [ fgaz ]; }; }