Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
792 B
Nix
31 lines
792 B
Nix
{ 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 ];
|
|
};
|
|
}
|