The last release of the package dates from 2018.
It depends on the cryptography library python-pycrypto, which has had
its last release in 2013 and "is unmaintained, obsolete, and contains
security vulnerabilities" according to its homepage.
* gnu/packages/android.scm (python-android-backup): Delete variable.
* gnu/packages/android.scm (fastboot)[arguments]: Replace broken
‘git rev-parse’ shell command with the actual package VERSION.
Reported by kwjc on #guix.
OpenSSL version 1.1 brought some API changes which broke the build here, fix
that by accessing rsa->n (and e) directly, using RSA_get0_key instead.
* gnu/packages/patches/adb-libssl_11-compatibility.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/android.scm (android-platform-system-core)[origin]: Use it.
(adb)[inputs]: Replace openssl-1.0 with openssl.
* gnu/packages/android.scm (git-repo)[phases]{do-not-self-update}: Rename
phase from 'do-not-clone-this-source. Rework the patching done to prevent
repo from self updating.
{set-executable-paths}: Do not patch the reference to GnuPG, as it is only
necessary for the self update mechanism, which is disabled.
[inputs]: Remove gnupg.
* gnu/packages/android.scm (git-repo): Update to 2.3.
[arguments]: Remove the #:python argument. git-repo v2.x is now compatible
with Python 3.
[phases]{configure-git}: New phase.
{set-executable-paths}: Adapt the substitution rule for the GIT command.
{check}: Use the "run_tests" script to launch tests.
[native-inputs]: Replace python2-nose by python-test.