depot/pkgs/servers/monitoring/consul-alerts/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
792 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "consul-alerts";
version = "0.6.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
};
postPatch = ''
go mod init github.com/AcalephStorage/consul-alerts
'';
vendorHash = null;
doCheck = false;
meta = with lib; {
mainProgram = "consul-alerts";
description = "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.gpl2Only;
maintainers = with maintainers; [ nh2 ];
};
}