httpdump: init at 20210126-d2e0dea
This commit is contained in:
parent
b749b2afa6
commit
e9b042a221
29
pkgs/tools/security/httpdump/default.nix
Normal file
29
pkgs/tools/security/httpdump/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "httpdump";
|
||||
version = "20210126-${lib.strings.substring 0 7 rev}";
|
||||
rev = "d2e0deadca5f9ec2544cb252da3c450966d1860e";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hsiafan";
|
||||
repo = pname;
|
||||
inherit rev;
|
||||
sha256 = "0yh8kxy1k23lln09b614limwk9y59r7cn5qhbnzc06ga4mxfczv2";
|
||||
};
|
||||
|
||||
vendorSha256 = "0lb1p63lzn1ngj54bar9add7w0azvgcq3azhv9c5glk3ykv9c3iy";
|
||||
|
||||
propagatedBuildInputs = [ libpcap ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -5084,6 +5084,8 @@ in
|
||||
|
||||
http-getter = callPackage ../applications/networking/flent/http-getter.nix { };
|
||||
|
||||
httpdump = callPackage ../tools/security/httpdump { };
|
||||
|
||||
httpie = callPackage ../tools/networking/httpie { };
|
||||
|
||||
httping = callPackage ../tools/networking/httping {};
|
||||
|
Loading…
Reference in New Issue
Block a user