Merge pull request #162082 from fgaz/bloat/init
This commit is contained in:
commit
f4070ff28a
2 changed files with 44 additions and 0 deletions
42
pkgs/servers/bloat/default.nix
Normal file
42
pkgs/servers/bloat/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchgit
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "bloat";
|
||||
version = "unstable-2022-03-31";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.freesoftwareextremist.com/bloat";
|
||||
rev = "a38d29a43592601d37d671db8748f0980071c0c4";
|
||||
sha256 = "sha256-7Hxt0QlOYMBMvDS40fpfSItGkd5nYFQmmjJIevNyeF8=";
|
||||
};
|
||||
|
||||
vendorSha256 = 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 ];
|
||||
};
|
||||
}
|
|
@ -21593,6 +21593,8 @@ with pkgs;
|
|||
|
||||
bird = callPackage ../servers/bird { };
|
||||
|
||||
bloat = callPackage ../servers/bloat { };
|
||||
|
||||
bosun = callPackage ../servers/monitoring/bosun { };
|
||||
|
||||
cayley = callPackage ../servers/cayley { };
|
||||
|
|
Loading…
Reference in a new issue