24 # This is usually used as a library, and it'd be a shame to force the GUI
25 # libraries to the closure if GUI is not desired.
27 # Tests take a very long time, and currently fail, but next release' tests
32 buildPythonPackage rec {
35 format = "setuptools";
37 src = fetchFromGitHub {
41 sha256 = "1aparxiq11y0hbvkayp92w684nyxyyx7mi0n1x6x51g5z6c58vmy";
46 ] ++ lib.optionals withGui [
50 propagatedBuildInputs = [
61 ] ++ lib.optionals withGui [
78 # If it won't be verbose, you'll see nothing going on for a long time.
81 nosetests --verbosity=3
85 preFixup = lib.optionalString withGui ''
86 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
90 description = "Tool and Python library to interact with Android Files";
91 homepage = "https://github.com/androguard/androguard";
92 license = licenses.asl20;
93 maintainers = with maintainers; [ pmiddend ];