Skip to content

Commit

Permalink
python311Packages.scapy: don't propagate library with dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Mar 24, 2024
1 parent 2e1b779 commit 7659c3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/scapy/default.nix
Expand Up @@ -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 ];

Expand Down

0 comments on commit 7659c3b

Please sign in to comment.