mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python311Packages.scapy: don't propagate library with dev dependencies
This commit is contained in:
parent
2e1b779e0a
commit
7659c3b55f
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user