tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
httpdump: 20210126-d2e0dea -> unstable-2023-05-07
Aaron Jheng
2 years ago
69936995
4295779f
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
httpdump
default.nix
+6
-6
pkgs/tools/security/httpdump/default.nix
reviewed
···
6
6
7
7
buildGoModule rec {
8
8
pname = "httpdump";
9
9
-
version = "20210126-${lib.strings.substring 0 7 rev}";
10
10
-
rev = "d2e0deadca5f9ec2544cb252da3c450966d1860e";
9
9
+
version = "unstable-2023-05-07";
11
10
12
11
src = fetchFromGitHub {
13
12
owner = "hsiafan";
14
13
repo = pname;
15
15
-
inherit rev;
16
16
-
sha256 = "0yh8kxy1k23lln09b614limwk9y59r7cn5qhbnzc06ga4mxfczv2";
14
14
+
rev = "e971e00e0136d5c770c4fdddb1c2095327d419d8";
15
15
+
hash = "sha256-3BzvIaZKBr/HHplJe5hM7u8kigmMHxCvkiVXFZopUCQ=";
17
16
};
18
17
19
19
-
vendorSha256 = null; #vendorSha256 = "";
18
18
+
vendorHash = "sha256-NKCAzx1+BkqZGeAORl7gCA7f9PSsyKxP2eggZyBB2l8=";
20
19
21
20
propagatedBuildInputs = [ libpcap ];
21
21
+
22
22
+
ldflags = [ "-s" "-w" ];
22
23
23
24
meta = with lib; {
24
25
description = "Parse and display HTTP traffic from network device or pcap file";
25
26
homepage = "https://github.com/hsiafan/httpdump";
26
27
license = with licenses; [ bsd2 ];
27
28
maintainers = with maintainers; [ fab ];
28
28
-
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check
29
29
};
30
30
}