2024-06-24 18:47:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "consul-alerts";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-06-24 18:47:55 +00:00
|
|
|
rev = "v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "AcalephStorage";
|
|
|
|
repo = "consul-alerts";
|
|
|
|
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
|
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
postPatch = ''
|
|
|
|
go mod init github.com/AcalephStorage/consul-alerts
|
|
|
|
'';
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "consul-alerts";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Extendable open source continuous integration server";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/AcalephStorage/consul-alerts";
|
|
|
|
# As per README
|
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
|
2024-06-05 15:53:02 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ nh2 ];
|
|
|
|
};
|
|
|
|
}
|