From 396b302063a40056e39b4a0452165a7ffa0076a8 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 29 May 2023 02:25:29 +0000 Subject: httpdump: 20210126-d2e0dea -> unstable-2023-05-07 (cherry picked from commit 699369959620a68839bee92df0bd71a53acbb692) --- pkgs/tools/security/httpdump/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/security/httpdump/default.nix b/pkgs/tools/security/httpdump/default.nix index 0bab990f17415..d745adc50d5d8 100644 --- a/pkgs/tools/security/httpdump/default.nix +++ b/pkgs/tools/security/httpdump/default.nix @@ -6,25 +6,25 @@ buildGoModule rec { pname = "httpdump"; - version = "20210126-${lib.strings.substring 0 7 rev}"; - rev = "d2e0deadca5f9ec2544cb252da3c450966d1860e"; + version = "unstable-2023-05-07"; src = fetchFromGitHub { owner = "hsiafan"; repo = pname; - inherit rev; - sha256 = "0yh8kxy1k23lln09b614limwk9y59r7cn5qhbnzc06ga4mxfczv2"; + rev = "e971e00e0136d5c770c4fdddb1c2095327d419d8"; + hash = "sha256-3BzvIaZKBr/HHplJe5hM7u8kigmMHxCvkiVXFZopUCQ="; }; - vendorSha256 = null; #vendorSha256 = ""; + vendorHash = "sha256-NKCAzx1+BkqZGeAORl7gCA7f9PSsyKxP2eggZyBB2l8="; propagatedBuildInputs = [ libpcap ]; + ldflags = [ "-s" "-w" ]; + meta = with lib; { description = "Parse and display HTTP traffic from network device or pcap file"; homepage = "https://github.com/hsiafan/httpdump"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ fab ]; - broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check }; } -- cgit 1.4.1