mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #226361 from risicle/ris-libpcap-passthru-tests
This commit is contained in:
commit
3186fe0842
@ -9,6 +9,16 @@
|
||||
, pkg-config
|
||||
, withBluez ? false
|
||||
, withRemote ? false
|
||||
|
||||
# for passthru.tests
|
||||
, ettercap
|
||||
, nmap
|
||||
, ostinato
|
||||
, tcpreplay
|
||||
, vde2
|
||||
, wireshark
|
||||
, python3
|
||||
, haskellPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -44,6 +54,12 @@ stdenv.mkDerivation rec {
|
||||
fi
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit ettercap nmap ostinato tcpreplay vde2 wireshark;
|
||||
inherit (python3.pkgs) pcapy-ng scapy;
|
||||
haskell-pcap = haskellPackages.pcap;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.tcpdump.org";
|
||||
description = "Packet Capture Library";
|
||||
|
Loading…
Reference in New Issue
Block a user