Skip to content

Commit a14d8da

Browse files
committed
nix.packages.wasgeht: update to 0.3.0
1 parent d4e7c48 commit a14d8da

File tree

1 file changed

+9
-4
lines changed
  • nix/package-sets/top-level/scale-network/wasgeht

1 file changed

+9
-4
lines changed

nix/package-sets/top-level/scale-network/wasgeht/package.nix

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@
55
makeWrapper,
66
unixtools,
77
rrdtool,
8+
go_1_25,
89
}:
910

10-
buildGoModule rec {
11+
buildGoModule.override { go = go_1_25; } rec {
1112
pname = "wasgeht";
12-
version = "0.2.0";
13+
version = "0.3.0";
1314

1415
src = fetchFromGitHub {
1516
owner = "kylerisse";
1617
repo = "wasgeht";
1718
rev = "refs/tags/${version}";
18-
hash = "sha256-+KLjVt5WKcngFCGyQTIoNJVKprn/7fyAiNLkxW6onN0=";
19+
hash = "sha256-Yi+35tCe8mnZqs87rBGu8eGhMEPGdvieq0j/6DIh9Ho=";
1920
};
2021

2122
strictDeps = true;
2223

23-
vendorHash = "sha256-0HDZ3llIgLMxRLNei93XrcYliBzjajU6ZPllo3/IZVY=";
24+
vendorHash = "sha256-EGGsQUqGzbQvyO6nymkG/FR/9IZXAUcmGriRFuwNPMc=";
2425

2526
ldflags = [
2627
"-s"
@@ -33,6 +34,10 @@ buildGoModule rec {
3334
rrdtool
3435
];
3536

37+
checkPhase = ''
38+
go test --short --race -v ./...
39+
'';
40+
3641
postFixup = ''
3742
wrapProgram $out/bin/wasgehtd --set PATH ${
3843
lib.makeBinPath [

0 commit comments

Comments
 (0)