From 728043e8d709b134451018497f6f211d0e83b3cf Mon Sep 17 00:00:00 2001 From: amuckstot30 <157274630+amuckstot30@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:08:10 +0200 Subject: [PATCH] postmoogle: init at 0.9.21 https://github.com/etkecc/postmoogle/releases/tag/v0.9.21 --- pkgs/by-name/po/postmoogle/package.nix | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/po/postmoogle/package.nix diff --git a/pkgs/by-name/po/postmoogle/package.nix b/pkgs/by-name/po/postmoogle/package.nix new file mode 100644 index 000000000000..5e6c60aba67a --- /dev/null +++ b/pkgs/by-name/po/postmoogle/package.nix @@ -0,0 +1,36 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule rec { + pname = "postmoogle"; + version = "0.9.21"; + + src = fetchFromGitHub { + owner = "etkecc"; + repo = "postmoogle"; + rev = "refs/tags/v${version}"; + hash = "sha256-/AuxrIvxoKb08uf4EOYXorl7vJ99KgEH9DZYLidDzI4="; + }; + + tags = [ + "timetzdata" + "goolm" + ]; + + vendorHash = null; + + postInstall = '' + mv $out/bin/cmd $out/bin/postmoogle + ''; + + meta = with lib; { + description = "Postmoogle is Matrix <-> Email bridge in a form of an SMTP server"; + homepage = "https://github.com/etkecc/postmoogle"; + changelog = "https://github.com/etkecc/postmoogle/releases/tag/v0.9.21"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ amuckstot30 ]; + mainProgram = "postmoogle"; + }; +}