2017-06-24 18:05:34 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "MailHog-${version}";
|
|
|
|
version = "1.0.0";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/mailhog/MailHog";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "mailhog";
|
|
|
|
repo = "MailHog";
|
|
|
|
sha256 = "0r6zidkffb8q12zyxd063jy0ig2x93llna4zb5i2qjh9gb971i83";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Web and API based SMTP testing";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/mailhog/MailHog;
|
2017-06-24 18:05:34 +02:00
|
|
|
maintainers = with maintainers; [ disassembler ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|