nixpkgs-suyu/pkgs/servers/mail/mailhog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
686 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "MailHog";
2020-12-17 16:58:29 +01:00
version = "1.0.1";
goPackagePath = "github.com/mailhog/MailHog";
src = fetchFromGitHub {
owner = "mailhog";
repo = "MailHog";
2020-12-17 16:58:29 +01:00
rev = "v${version}";
sha256 = "124216850572r1h0ii7ad6jd1cd5czcvkz7k2jzvjb4pv2kl8p3y";
};
2021-08-26 05:31:57 +02:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2021-03-04 11:06:15 +01:00
meta = with lib; {
description = "Web and API based SMTP testing";
homepage = "https://github.com/mailhog/MailHog";
2020-12-17 16:58:29 +01:00
changelog = "https://github.com/mailhog/MailHog/releases/tag/v${version}";
maintainers = with maintainers; [ disassembler jojosch ];
license = licenses.mit;
};
}