Merge pull request #42542 from nh2/consul-alerts-0.5.0
consul-alerts: 0.3.3 -> 0.5.0
This commit is contained in:
commit
580f9d78fd
@ -2,15 +2,26 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "consul-alerts-${version}";
|
name = "consul-alerts-${version}";
|
||||||
version = "0.3.3";
|
version = "0.5.0";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "AcalephStorage";
|
owner = "AcalephStorage";
|
||||||
repo = "consul-alerts";
|
repo = "consul-alerts";
|
||||||
sha256 = "1w0mb20w1yazyh84sa30bsw271c5nm7lsx2qg0g3gf6mxdb63lpq";
|
sha256 = "0dff2cpk3lkgjsh97rvlrpacpka0kwm29691diyvj7lb9ydzlx3r";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
34
pkgs/servers/monitoring/consul-alerts/deps.nix
generated
Normal file
34
pkgs/servers/monitoring/consul-alerts/deps.nix
generated
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
let
|
||||||
|
mkAwsPackage = name: {
|
||||||
|
goPackagePath = "github.com/aws/aws-sdk-go/${name}";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/aws/aws-sdk-go";
|
||||||
|
rev = "v1.14.13";
|
||||||
|
sha256 = "0014b6kl3rbjhjbk7jz116wdgdls54b1bwz454pkn1snlvkj3qil";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
[
|
||||||
|
(mkAwsPackage "")
|
||||||
|
(mkAwsPackage "aws/session")
|
||||||
|
(mkAwsPackage "aws/sns")
|
||||||
|
(mkAwsPackage "service/sns")
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/imdario/mergo";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/imdario/mergo";
|
||||||
|
rev = "v0.3.5";
|
||||||
|
sha256 = "1mvgn89vp39gcpvhiq4n7nw5ipj7fk6h03jgc6fjwgvwvss213pb";
|
||||||
|
};
|
||||||
|
}{
|
||||||
|
goPackagePath = "github.com/mitchellh/hashstructure";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/mitchellh/hashstructure";
|
||||||
|
rev = "2bca23e0e452137f789efbc8610126fd8b94f73b"; # has no releases as of writing
|
||||||
|
sha256 = "0vpacsls26474wya360fjhzi6l4y8s8s251c4szvqxh17n5f5gk1";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user