2023-07-15 05:22:17 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
2017-02-06 13:58:40 +00:00
|
|
|
|
2022-02-18 15:37:40 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "wuzz";
|
2022-02-18 15:37:40 +00:00
|
|
|
version = "0.5.0";
|
2017-02-06 13:58:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "asciimoo";
|
2022-02-18 15:37:40 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc=";
|
2017-02-06 13:58:40 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 05:22:17 +00:00
|
|
|
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=";
|
2017-02-06 13:58:40 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/asciimoo/wuzz";
|
2017-02-06 13:58:40 +00:00
|
|
|
description = "Interactive cli tool for HTTP inspection";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
|
|
};
|
|
|
|
}
|