diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-07-15 11:59:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-15 11:59:48 +0200 |
commit | fcf4c96a0a34b54f21eef9bea657ffe829bc6fc8 (patch) | |
tree | 7f12656bcd2f1a87e05dd9712141b342dd1ac292 /pkgs | |
parent | 6980027d1d6e5804b566985e063c55b843cde498 (diff) | |
parent | 7d80417710a9077b9142b479b02d07200d71d9db (diff) |
Merge pull request #243592 from kirillrdy/wuzz
wuzz: unbreak
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/wuzz/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/tools/networking/wuzz/default.nix b/pkgs/tools/networking/wuzz/default.nix index c162ee8036a47..6f1a5eeccae74 100644 --- a/pkgs/tools/networking/wuzz/default.nix +++ b/pkgs/tools/networking/wuzz/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: buildGoModule rec { pname = "wuzz"; @@ -11,13 +11,21 @@ buildGoModule rec { sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc="; }; - vendorSha256 = null; #vendorSha256 = ""; + patches = [ + # go 1.19 support + # https://github.com/asciimoo/wuzz/pull/146 + (fetchpatch { + url = "https://github.com/asciimoo/wuzz/commit/bb4c4fff794f160920df1d3b87541b28f071862c.patch"; + hash = "sha256-nbgwmST36nB5ia3mgZvkwAVqJfznvFnNyzdoyo51kLg="; + }) + ]; + + vendorHash = "sha256-oIm6DWSs6ZDKi6joxydguSXxqtGyKP21cmWtz8MkeIQ="; meta = with lib; { homepage = "https://github.com/asciimoo/wuzz"; description = "Interactive cli tool for HTTP inspection"; license = licenses.agpl3; maintainers = with maintainers; [ pradeepchhetri ]; - broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check }; } |