2020-06-13 03:11:00 +02:00
|
|
|
# A simple SMTP relay without the kitchen sink.
|
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
2022-01-01 15:16:41 +01:00
|
|
|
pkgs.buildGoModule rec {
|
|
|
|
pname = "smtprelay";
|
|
|
|
version = "1.7.0";
|
2022-09-26 19:33:05 +02:00
|
|
|
vendorHash = "sha256:00nb81hdg5pv5l0q7w5lv08dv4v72vml7jha351frani0gpg27pn";
|
2020-06-13 03:11:00 +02:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "decke";
|
|
|
|
repo = "smtprelay";
|
2022-01-01 15:16:41 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0js18xhk64g0g82dx8ii8vhbbssj3pxf1hqv1zadnckdgwfwlj2r";
|
2020-06-13 03:11:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple Golang SMTP relay/proxy server";
|
|
|
|
homepage = https://github.com/decke/smtprelay;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|