wuzz: unbreak

This commit is contained in:
Kirill Radzikhovskyy 2023-07-15 15:22:17 +10:00
parent e74e68449c
commit 7d80417710

View file

@ -1,4 +1,4 @@
{ 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
};
}