nixpkgs-suyu/pkgs/servers/monitoring/consul-alerts/default.nix

28 lines
745 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-07 22:32:34 +02:00
buildGoPackage rec {
pname = "consul-alerts";
version = "0.6.0";
rev = "v${version}";
goPackagePath = "github.com/AcalephStorage/consul-alerts";
2018-06-24 19:18:51 +02:00
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit rev;
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
};
meta = with stdenv.lib; {
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 ];
};
}