diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-29 12:36:33 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-30 18:52:52 -0800 |
commit | 5365e6ea25e1e51b5f4309e2d12907c65365e3b1 (patch) | |
tree | 825061cf90daaae2682b8c719fecfa04ace441cd /pkgs/development/python-modules/androguard | |
parent | 998db37980f831d252892e2ea880c052f5b72f4d (diff) |
python3Packages.androguard: fix build
Diffstat (limited to 'pkgs/development/python-modules/androguard')
-rw-r--r-- | pkgs/development/python-modules/androguard/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/androguard/default.nix b/pkgs/development/python-modules/androguard/default.nix index 492c835f018eb..42f37e130994f 100644 --- a/pkgs/development/python-modules/androguard/default.nix +++ b/pkgs/development/python-modules/androguard/default.nix @@ -11,6 +11,7 @@ , click , pydot , ipython +, packaging , pyqt5 , pyperclip , nose @@ -39,6 +40,12 @@ buildPythonPackage rec { sha256 = "1aparxiq11y0hbvkayp92w684nyxyyx7mi0n1x6x51g5z6c58vmy"; }; + nativeBuildInputs = [ + packaging + ] ++ lib.optionals withGui [ + qt5.wrapQtAppsHook + ]; + propagatedBuildInputs = [ asn1crypto click @@ -67,10 +74,6 @@ buildPythonPackage rec { ]; inherit doCheck; - nativeBuildInputs = lib.optionals withGui [ - qt5.wrapQtAppsHook - ]; - # If it won't be verbose, you'll see nothing going on for a long time. checkPhase = '' runHook preCheck |