nixpkgs/pkgs/servers/monitoring/consul-alerts/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
745 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "consul-alerts";
version = "0.5.0";
rev = "v${version}";
goPackagePath = "github.com/AcalephStorage/consul-alerts";
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit rev;
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "0dff2cpk3lkgjsh97rvlrpacpka0kwm29691diyvj7lb9ydzlx3r";
};
meta = with stdenv.lib; {
description = "An extendable open source continuous integration server";
homepage = https://github.com/AcalephStorage/consul-alerts;
# As per README
platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
license = licenses.gpl2;
maintainers = with maintainers; [ nh2 ];
};
}