about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/consul-alerts/default.nix
blob: 23bf58c98e597b33888377744f95f4b659fc6144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "consul-alerts";
  version = "0.6.0";
  rev = "v${version}";

  goPackagePath = "github.com/AcalephStorage/consul-alerts";

  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    inherit rev;
    owner = "AcalephStorage";
    repo = "consul-alerts";
    sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
  };

  meta = with lib; {
    mainProgram = "consul-alerts";
    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 ];
  };
}