Unverified Commit 6afbeda9 authored by Julius Rickert's avatar Julius Rickert
Browse files

smtprelay: init at 1.10.0

parent 035064ee
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
  pname = "smtprelay";
  version = "1.10.0";

  src = fetchFromGitHub {
    owner = "decke";
    repo = "smtprelay";
    rev = "v${version}";
    hash = "sha256-zZ3rgbo8nvrpFMtUmhyXnTgoVd0FIh1kWzuM2hCh5gY=";
  };

  vendorHash = "sha256-assGzM8/APNVVm2vZapPK6sh3tWNTnw6PSFwvEqNDPk=";

  CGO_ENABLED = 0;

  # We do not supply the build time as the build wouldn't be reproducible otherwise.
  ldflags = [ "-s" "-w" "-X main.appVersion=v${version}" ];

  meta = with lib; {
    homepage = "https://github.com/decke/smtprelay";
    description = "Simple Golang SMTP relay/proxy server";
    license = licenses.mit;
    maintainers = with maintainers; [ juliusrickert ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -26579,6 +26579,8 @@ with pkgs;
  quark = callPackage ../servers/http/quark { };
  smtprelay = callPackage ../servers/mail/smtprelay { };
  soft-serve = callPackage ../servers/soft-serve { };
  sympa = callPackage ../servers/mail/sympa { };