depot/third_party/nixpkgs/pkgs/by-name/po/postmoogle/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

36 lines
795 B
Nix

{
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";
};
}