about summary refs log tree commit diff
path: root/pkgs/development/python-modules/androguard
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-10-06 10:03:58 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-10-06 10:03:58 +0200
commit76b08fcbbf08b18f44eb8c3d1fb96a8ef279ebd4 (patch)
treec0074fbf0d4f4e087f9d0a770d4d86b6351c139b /pkgs/development/python-modules/androguard
parentc5477e635ecbd52f6278310cecd70d69390162ac (diff)
python3Packages.androguard: 3.3.5 -> 3.4.0a1
Diffstat (limited to 'pkgs/development/python-modules/androguard')
-rw-r--r--pkgs/development/python-modules/androguard/default.nix43
1 files changed, 21 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/androguard/default.nix b/pkgs/development/python-modules/androguard/default.nix
index ec19f4730a55b..e7058205c54f4 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 = [
+    asn1crypto
+    click
+    colorama
     future
-    networkx
-    pygments
+    ipython
     lxml
-    colorama
     matplotlib
-    asn1crypto
-    click
+    networkx
     pydot
-    ipython
+    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 ];
   };
 }