Merge pull request #226361 from risicle/ris-libpcap-passthru-tests
This commit is contained in:
commit
3186fe0842
|
@ -9,6 +9,16 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, withBluez ? false
|
, withBluez ? false
|
||||||
, withRemote ? false
|
, withRemote ? false
|
||||||
|
|
||||||
|
# for passthru.tests
|
||||||
|
, ettercap
|
||||||
|
, nmap
|
||||||
|
, ostinato
|
||||||
|
, tcpreplay
|
||||||
|
, vde2
|
||||||
|
, wireshark
|
||||||
|
, python3
|
||||||
|
, haskellPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -44,6 +54,12 @@ stdenv.mkDerivation rec {
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit ettercap nmap ostinato tcpreplay vde2 wireshark;
|
||||||
|
inherit (python3.pkgs) pcapy-ng scapy;
|
||||||
|
haskell-pcap = haskellPackages.pcap;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.tcpdump.org";
|
homepage = "https://www.tcpdump.org";
|
||||||
description = "Packet Capture Library";
|
description = "Packet Capture Library";
|
||||||
|
|
Loading…
Reference in a new issue