about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/consul-alerts/deps.nix
blob: 6494dc61a87c93a2c18c256e594f3d3ab4a855b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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";
    };
  }
]