1{ lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "consul-alerts";
5 version = "0.6.0";
6 rev = "v${version}";
7
8 goPackagePath = "github.com/AcalephStorage/consul-alerts";
9
10 goDeps = ./deps.nix;
11
12 src = fetchFromGitHub {
13 inherit rev;
14 owner = "AcalephStorage";
15 repo = "consul-alerts";
16 sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
17 };
18
19 meta = with lib; {
20 description = "An extendable open source continuous integration server";
21 homepage = "https://github.com/AcalephStorage/consul-alerts";
22 # As per README
23 platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
24 license = licenses.gpl2;
25 maintainers = with maintainers; [ nh2 ];
26 };
27}