Merge pull request #245707 from juliusrickert/smtprelay

smtprelay: init at 1.10.0
This commit is contained in:
Fabian Affolter 2023-10-13 13:43:52 +02:00 committed by GitHub
commit 41f3887abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "smtprelay";
version = "1.10.0";
src = fetchFromGitHub {
owner = "decke";
repo = "smtprelay";
rev = "refs/tags/v${version}";
hash = "sha256-zZ3rgbo8nvrpFMtUmhyXnTgoVd0FIh1kWzuM2hCh5gY=";
};
vendorHash = "sha256-assGzM8/APNVVm2vZapPK6sh3tWNTnw6PSFwvEqNDPk=";
subPackages = [
"."
];
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";
changelog = "https://github.com/decke/smtprelay/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ juliusrickert ];
};
}

View File

@ -26820,6 +26820,8 @@ with pkgs;
quark = callPackage ../servers/http/quark { };
smtprelay = callPackage ../servers/mail/smtprelay { };
soft-serve = callPackage ../servers/soft-serve { };
sympa = callPackage ../servers/mail/sympa { };