1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/mail/mailhog/default.nix

24 lines
637 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "MailHog";
2020-12-17 15:58:29 +00:00
version = "1.0.1";
goPackagePath = "github.com/mailhog/MailHog";
src = fetchFromGitHub {
owner = "mailhog";
repo = "MailHog";
2020-12-17 15:58:29 +00:00
rev = "v${version}";
sha256 = "124216850572r1h0ii7ad6jd1cd5czcvkz7k2jzvjb4pv2kl8p3y";
};
meta = with lib; {
description = "Web and API based SMTP testing";
homepage = "https://github.com/mailhog/MailHog";
2020-12-17 15:58:29 +00:00
changelog = "https://github.com/mailhog/MailHog/releases/tag/v${version}";
maintainers = with maintainers; [ disassembler jojosch ];
license = licenses.mit;
};
}