summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2023-05-29 02:25:29 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-30 21:20:09 +0000
commit396b302063a40056e39b4a0452165a7ffa0076a8 (patch)
treeacc20c9a12f59c23d239f9ee912455657d7d34e3
parentMerge pull request #235037 from NixOS/backport-234837-to-release-23.05 (diff)
downloadnixpkgs-origin/backport-234720-to-release-23.05.tar.gz
httpdump: 20210126-d2e0dea -> unstable-2023-05-07origin/backport-234720-to-release-23.05
(cherry picked from commit 699369959620a68839bee92df0bd71a53acbb692)
-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 0bab990f1741..d745adc50d5d 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
};
}