mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
589 B
Nix
26 lines
589 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "MailHog";
|
|
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";
|
|
homepage = https://github.com/mailhog/MailHog;
|
|
maintainers = with maintainers; [ disassembler ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|