@cryptotaxi247 / infra / commits / 82d52aae

promethus-packet-sd: 2019-09-28 -> v0.0.3

buildGo112Module to fix this error: k8s.io/client-go@v12.0.0+incompatible: invalid version: +incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required which comes up after 113.

Graham Christensen committed Apr 5, 2020 at 22:22 UTC 82d52aae9a5d6555398e32eade83c06ca79f8fcc
1 file changed +7 -7
delft/prometheus/packet-sd.nix
+7 -7
@@ -1,16 +1,16 @@
1 -{ buildGoModule, fetchFromGitHub, lib }:
2 -buildGoModule rec {
1 +{ buildGo112Module, fetchFromGitHub, lib }:
2 +buildGo112Module rec {
3 pname = "prometheus-packet-sd";
4 - version = "2019-09-28";
4 + version = "v0.0.3";
5
6 src = fetchFromGitHub {
7 owner = "packethost";
8 repo = "prometheus-packet-sd";
9 - rev = "2944af336b2fda49d5840d6cc28877afad0fd031";
10 - sha256 = "01464m88pcv0zfd6hm4m02phf5b9gj2k04qdd71iir4zvvjgyd6g";
9 + rev = "v0.0.3";
10 + sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
11 };
12
13 - modSha256 = "sha256-vP1O2YFMCu2P7YnV67yrMSyvWxLwun4cm/Hm5y6W1FY=";
13 + modSha256 = "sha256-I2QSxtNH5KcY7YBDI5XgoIa3bzGBIhDrxweqc34L0Ug=";
14
15 subPackages = [ "." ];
16
@@ -20,4 +20,4 @@ buildGoModule rec {
20 license = licenses.asl20;
21 platforms = platforms.linux;
22 };
23 -}
\ No newline at end of file
23 +}