delft/prometheus/packet-sd: update to newer buildGoModule
The previous version stopped working on 20.09 and this should unblock the deployment until https://github.com/NixOS/nixpkgs/pull/104500 / https://github.com/NixOS/nixpkgs/pull/104501 arrive in the stable channel of this box.
Andreas Rammhold committed
Nov 21, 2020 at 16:00 UTC
1aaf3db7a5bc2365a8fea73fb1a0bacbcedfc573
1 file changed
+4
-4
delft/prometheus/packet-sd.nix
+4
-4
@@ -1,5 +1,5 @@
1
-{ buildGo112Module, fetchFromGitHub, lib }:
2
-buildGo112Module rec {
1
+{ buildGoModule, fetchFromGitHub, lib }:
2
+buildGoModule rec {
3
pname = "prometheus-packet-sd";
4
version = "v0.0.3";
5
@@ -10,13 +10,13 @@ buildGo112Module rec {
10
sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
11
};
12
13
- modSha256 = "sha256-I2QSxtNH5KcY7YBDI5XgoIa3bzGBIhDrxweqc34L0Ug=";
13
+ vendorSha256 = null;
14
15
subPackages = [ "." ];
16
17
meta = with lib; {
18
description = "Prometheus service discovery for Packet.";
19
- homepage = https://github.com/packethost/prometheus-packet-sd;
19
+ homepage = "https://github.com/packethost/prometheus-packet-sd";
20
license = licenses.asl20;
21
platforms = platforms.linux;
22
};