biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / wuzz / default.nix
blobc428b40547f11e215f227328b83e3928b163f4a6
1 { lib, buildGoModule, fetchFromGitHub, fetchpatch }:
3 buildGoModule rec {
4   pname = "wuzz";
5   version = "0.5.0";
7   src = fetchFromGitHub {
8     owner = "asciimoo";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc=";
12   };
14   patches = [
15     # go 1.19 support
16     # https://github.com/asciimoo/wuzz/pull/146
17     (fetchpatch {
18       url = "https://github.com/asciimoo/wuzz/commit/bb4c4fff794f160920df1d3b87541b28f071862c.patch";
19       hash = "sha256-nbgwmST36nB5ia3mgZvkwAVqJfznvFnNyzdoyo51kLg=";
20     })
21   ];
23   vendorHash = "sha256-oIm6DWSs6ZDKi6joxydguSXxqtGyKP21cmWtz8MkeIQ=";
25   meta = with lib; {
26     homepage = "https://github.com/asciimoo/wuzz";
27     description = "Interactive cli tool for HTTP inspection";
28     license = licenses.agpl3Only;
29     maintainers = with maintainers; [ pradeepchhetri ];
30     mainProgram = "wuzz";
31   };