2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|