From 76b08fcbbf08b18f44eb8c3d1fb96a8ef279ebd4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 6 Oct 2021 10:03:58 +0200 Subject: [PATCH] python3Packages.androguard: 3.3.5 -> 3.4.0a1 --- .../python-modules/androguard/default.nix | 45 +++++++++---------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/androguard/default.nix b/pkgs/development/python-modules/androguard/default.nix index ec19f4730a55..e7058205c54f 100644 --- a/pkgs/development/python-modules/androguard/default.nix +++ b/pkgs/development/python-modules/androguard/default.nix @@ -21,8 +21,8 @@ , codecov , coverage , qt5 -# This is usually used as a library, and it'd be a shame to force the gui -# libraries to the closure if gui is not desired. +# This is usually used as a library, and it'd be a shame to force the GUI +# libraries to the closure if GUI is not desired. , withGui ? false # Tests take a very long time, and currently fail, but next release' tests # shouldn't fail @@ -30,53 +30,52 @@ }: buildPythonPackage rec { - version = "3.3.5"; pname = "androguard"; + version = "3.4.0a1"; - # No tests in pypi tarball src = fetchFromGitHub { repo = pname; owner = pname; rev = "v${version}"; - sha256 = "0zc8m1xnkmhz2v12ddn47q0c01p3sbna2v5npfxhcp88szswlr9y"; + sha256 = "1aparxiq11y0hbvkayp92w684nyxyyx7mi0n1x6x51g5z6c58vmy"; }; propagatedBuildInputs = [ - future - networkx - pygments - lxml - colorama - matplotlib asn1crypto click - pydot + colorama + future ipython + lxml + matplotlib + networkx + pydot + pygments ] ++ lib.optionals withGui [ pyqt5 pyperclip ]; checkInputs = [ - pyqt5 - pyperclip - nose - nose-timer codecov coverage mock + nose + nose-timer + pyperclip + pyqt5 python_magic ]; inherit doCheck; - nativeBuildInputs = lib.optionals withGui [ qt5.wrapQtAppsHook ]; + 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 - nosetests --verbosity=3 - runHook postCheck ''; @@ -84,10 +83,10 @@ buildPythonPackage rec { makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; - meta = { - description = "Tool and python library to interact with Android Files"; + meta = with lib; { + description = "Tool and Python library to interact with Android Files"; homepage = "https://github.com/androguard/androguard"; - license = lib.licenses.asl20; - maintainers = [ lib.maintainers.pmiddend ]; + license = licenses.asl20; + maintainers = with maintainers; [ pmiddend ]; }; }