Subject: [PATCH 4/5] gnu: Add python-android-backup.

From: phodina <[email-masked]>
Date: Fri, 01 Oct 2021 19:26:19 +0000

* gnu/packages/android.scm (python-android-backup): New variable.

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 0a551c7d30..5c7376c3a4 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2019, 2020 Andreas Enge <[email-masked]>
 ;;; Copyright © 2019 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2020 Sergey Trofimov <[email-masked]>
+;;; Copyright © 2021 Petr Hodina <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -916,6 +917,26 @@ safest way, on a file image.")
 useful for reverse engineering, analysis of Android applications and more.")
     (license license:asl2.0)))

+(define-public python-android-backup
+  (package
+    (name "python-android-backup")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "android_backup" version))
+        (sha256
+          (base32
+            "15wb2lyjj2fpf7bhvmgpqn0mglsjj11zfvbjycx7mnidisgnljw6"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-pycrypto" ,python-pycrypto)))
+    (home-page
+      "https://github.com/bluec0re/android-backup-tools")
+    (synopsis "Unpack and repack android backups")
+    (description "This package allows you to unpack and repack android backups.
+Supports encrypted archives.")
+    (license license:asl2.0)))
+
 (define-public fdroidserver
   (package
     (name "fdroidserver")
--
2.32.0