Merge pull request #226361 from risicle/ris-libpcap-passthru-tests

This commit is contained in:
Artturi 2023-08-28 01:18:29 +03:00 committed by GitHub
commit 3186fe0842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";