about summary refs log tree commit diff
path: root/third_party/smtprelay/default.nix
blob: 6a8b063a5208de382bbdc64930f3125fde61b07f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# A simple SMTP relay without the kitchen sink.
{ pkgs, lib, ... }:

pkgs.buildGoModule {
  name = "smtprelay";
  vendorSha256 = "0kv9cv2jca2r90qsf40qmqpw84kgxvbxlf39bfw8rvs2lnmqc2dg";

  src = pkgs.fetchFromGitHub {
    owner = "decke";
    repo = "smtprelay";
    rev = "ed1c3a98889e752291aaca6c64149e48452d0583";
    sha256 = "16q2d2ja2cipjvsnfxmdzixkg85sh15rh9r95w6bw2r1gjqr65hr";
  };

  meta = with lib; {
    description = "Simple Golang SMTP relay/proxy server";
    homepage = https://github.com/decke/smtprelay;
    license = licenses.mit;
  };
}