python3Packages.androguard: fix build

This commit is contained in:
Jonathan Ringer 2021-11-29 12:36:33 -08:00
parent 998db37980
commit 5365e6ea25
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -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