nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 904 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 fetchpatch, 6}: 7 8buildGoModule rec { 9 pname = "wuzz"; 10 version = "0.5.0"; 11 12 src = fetchFromGitHub { 13 owner = "asciimoo"; 14 repo = "wuzz"; 15 rev = "v${version}"; 16 sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc="; 17 }; 18 19 patches = [ 20 # go 1.19 support 21 # https://github.com/asciimoo/wuzz/pull/146 22 (fetchpatch { 23 url = "https://github.com/asciimoo/wuzz/commit/bb4c4fff794f160920df1d3b87541b28f071862c.patch"; 24 hash = "sha256-nbgwmST36nB5ia3mgZvkwAVqJfznvFnNyzdoyo51kLg="; 25 }) 26 ]; 27 28 vendorHash = "sha256-oIm6DWSs6ZDKi6joxydguSXxqtGyKP21cmWtz8MkeIQ="; 29 30 meta = with lib; { 31 homepage = "https://github.com/asciimoo/wuzz"; 32 description = "Interactive cli tool for HTTP inspection"; 33 license = licenses.agpl3Only; 34 maintainers = with maintainers; [ pradeepchhetri ]; 35 mainProgram = "wuzz"; 36 }; 37}