Unverified Commit f16d6cde authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

postmoogle: init at 0.9.21 (#338979)

parents 13c30d4a 728043e8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1234,6 +1234,12 @@
    githubId = 37040543;
    name = "Wroclaw";
  };
  amuckstot30 = {
    email = "amuckstot30@tutanota.com";
    github = "amuckstot30";
    githubId = 157274630;
    name = "amuckstot30";
  };
  amyipdev = {
    email = "amy@amyip.net";
    github = "amyipdev";
+36 −0
Original line number Diff line number Diff line
{
  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";
  };
}