python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / httpdump / default.nix
blobc2e5a62969bebc3c47a47cfe6f4133834e195e5e
1 { buildGoModule
2 , fetchFromGitHub
3 , lib
4 , libpcap
5 }:
7 buildGoModule rec {
8   pname = "httpdump";
9   version = "20210126-${lib.strings.substring 0 7 rev}";
10   rev = "d2e0deadca5f9ec2544cb252da3c450966d1860e";
12   src = fetchFromGitHub {
13     owner = "hsiafan";
14     repo = pname;
15     inherit rev;
16     sha256 = "0yh8kxy1k23lln09b614limwk9y59r7cn5qhbnzc06ga4mxfczv2";
17   };
19   vendorSha256 = "0lb1p63lzn1ngj54bar9add7w0azvgcq3azhv9c5glk3ykv9c3iy";
21   propagatedBuildInputs = [ libpcap ];
23   meta = with lib; {
24     description = "Parse and display HTTP traffic from network device or pcap file";
25     homepage = "https://github.com/hsiafan/httpdump";
26     license = with licenses; [ bsd2 ];
27     maintainers = with maintainers; [ fab ];
28   };