diff options
author | Artturi <Artturin@artturin.com> | 2023-08-28 01:18:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 01:18:29 +0300 |
commit | 3186fe0842da941b267f036f88b0fb0f685edfcc (patch) | |
tree | b539876b2d5abefdc375f56ceebe293d3e50f755 /pkgs/development/libraries/libpcap | |
parent | 6d3f18e83e4c352e6448f0fb2cbf3285e0127429 (diff) | |
parent | ea0022cc22d9f8d4559eeb22676194ce94c29b41 (diff) |
Merge pull request #226361 from risicle/ris-libpcap-passthru-tests
Diffstat (limited to 'pkgs/development/libraries/libpcap')
-rw-r--r-- | pkgs/development/libraries/libpcap/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libpcap/default.nix b/pkgs/development/libraries/libpcap/default.nix index 37043e3e4bde4..d1ea44b6ac2fb 100644 --- a/pkgs/development/libraries/libpcap/default.nix +++ b/pkgs/development/libraries/libpcap/default.nix @@ -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"; |