Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 31 lines 864 B view raw
1{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: 2 3buildGoModule rec { 4 pname = "wuzz"; 5 version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "asciimoo"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc="; 12 }; 13 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 ]; 22 23 vendorHash = "sha256-oIm6DWSs6ZDKi6joxydguSXxqtGyKP21cmWtz8MkeIQ="; 24 25 meta = with lib; { 26 homepage = "https://github.com/asciimoo/wuzz"; 27 description = "Interactive cli tool for HTTP inspection"; 28 license = licenses.agpl3; 29 maintainers = with maintainers; [ pradeepchhetri ]; 30 }; 31}