biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / mail / mailhog / default.nix
blobef20fa92f385b60eab31098fe2760755b0d17535
1 { lib, buildGoPackage, fetchFromGitHub }:
3 buildGoPackage rec {
4   pname = "MailHog";
5   version = "1.0.1";
7   goPackagePath = "github.com/mailhog/MailHog";
9   src = fetchFromGitHub {
10     owner = "mailhog";
11     repo = "MailHog";
12     rev = "v${version}";
13     sha256 = "124216850572r1h0ii7ad6jd1cd5czcvkz7k2jzvjb4pv2kl8p3y";
14   };
16   ldflags = [ "-s" "-w" "-X main.version=${version}" ];
18   meta = with lib; {
19     description = "Web and API based SMTP testing";
20     mainProgram = "MailHog";
21     homepage = "https://github.com/mailhog/MailHog";
22     changelog = "https://github.com/mailhog/MailHog/releases/tag/v${version}";
23     maintainers = with maintainers; [ disassembler jojosch ];
24     license = licenses.mit;
25   };