summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-05-30 20:01:37 -0600
committerGitHub <noreply@github.com>2023-05-30 20:01:37 -0600
commit8c5f01ab09866caa80e2876c9dfd922100984c7e (patch)
treeb53d86ed072833ef6c169873f04c43c7d579ca7b
parent8c11bacbe0b6c9a9556920468d28b0d27eb79e63 (diff)
parent396b302063a40056e39b4a0452165a7ffa0076a8 (diff)
Merge pull request #235067 from NixOS/backport-234720-to-release-23.05
[Backport release-23.05] httpdump: 20210126-d2e0dea -> unstable-2023-05-07
-rw-r--r--pkgs/tools/security/httpdump/default.nix12
1 files 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
   };
 }