2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchgit
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "bloat";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "0-unstable-2024-06-17";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.freesoftwareextremist.com/bloat";
|
2024-06-24 18:47:55 +00:00
|
|
|
rev = "51d6ff26fe224444b921b5b1f367f15782cf84d3";
|
|
|
|
hash = "sha256-g5CbX134o9aeFggsVYnPfbZ4bsRQUUNnAe1KhTlONuU=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Web client for Pleroma and Mastodon";
|
2022-06-16 17:23:12 +00:00
|
|
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "bloat";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|