Unverified Commit fcf4c96a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #243592 from kirillrdy/wuzz

wuzz: unbreak
parents 6980027d 7d804177
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
{ 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
  };
}