python311Packages.scapy: don't propagate library with dev dependencies

This commit is contained in:
Sandro Jäckel 2024-03-24 15:29:40 +01:00
parent 2e1b779e0a
commit 7659c3b55f
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -44,10 +44,11 @@ buildPythonPackage rec {
substituteInPlace scapy/data.py --replace "/opt/wireshark" "${wireshark}"
'';
buildInputs = lib.optional withVoipSupport sox;
propagatedBuildInputs = [ pycrypto ecdsa ]
++ lib.optionals withOptionalDeps [ tcpdump ipython ]
++ lib.optional withCryptography cryptography
++ lib.optional withVoipSupport sox
++ lib.optional withPlottingSupport matplotlib
++ lib.optionals withGraphicsSupport [ pyx texliveBasic graphviz imagemagick ];