2024-06-08 11:54:09 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2016-06-04 19:49:27 +00:00
|
|
|
|
2024-06-08 11:54:09 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "consul-alerts";
|
2019-11-14 02:31:55 +00:00
|
|
|
version = "0.6.0";
|
2018-06-24 17:18:51 +00:00
|
|
|
|
2016-06-06 10:56:28 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-06-08 11:54:09 +00:00
|
|
|
rev = "v${version}";
|
2016-06-06 10:56:28 +00:00
|
|
|
owner = "AcalephStorage";
|
|
|
|
repo = "consul-alerts";
|
2019-11-14 02:31:55 +00:00
|
|
|
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
|
2016-06-04 19:49:27 +00:00
|
|
|
};
|
2018-06-25 14:51:09 +00:00
|
|
|
|
2024-06-08 11:54:09 +00:00
|
|
|
postPatch = ''
|
|
|
|
go mod init github.com/AcalephStorage/consul-alerts
|
|
|
|
'';
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-02-08 21:22:32 +00:00
|
|
|
mainProgram = "consul-alerts";
|
2018-06-25 14:51:09 +00:00
|
|
|
description = "Extendable open source continuous integration server";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/AcalephStorage/consul-alerts";
|
2018-06-25 14:51:09 +00:00
|
|
|
# As per README
|
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
|
2024-05-23 08:44:51 +00:00
|
|
|
license = licenses.gpl2Only;
|
2018-06-25 14:51:09 +00:00
|
|
|
maintainers = with maintainers; [ nh2 ];
|
|
|
|
};
|
2016-06-04 19:49:27 +00:00
|
|
|
}
|