@@ -12,6 +12,7 @@
;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -721,6 +722,32 @@ (define-public fastboot
"This package provides @command{fastboot}, a tool to upload file system images to Android devices.")
(license license:asl2.0)))
+(define-public andorid-sdkmanager
+ (package
+ (name "android-sdkmanager")
+ (version "0.6.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "sdkmanager" version ".tar.gz"))
+ (sha256
+ (base32
+ "11as7n2mj3nbqsqb3ivyv9985n73i022s748qvjg36cs8ig50afx"))))
+ (build-system python-build-system)
+ (inputs (list python-requests python-argcomplete python-urllib3))
+ (propagated-inputs (list gnupg))
+ (home-page "https://gitlab.com/fdroid/sdkmanager")
+ (synopsis
+ "Drop-in replacement for sdkmanager from the Android SDK written in Python")
+ (description
+ "This package provides an drop-in replacement for sdkmanager from the Android SDK
+written in Python from fdroid project. It implements the exact API of the sdkmanager
+command line. It only deviates from that API if it can be done while being
+100% compatible.
+
+The project also attempts to maintain the same terminal output so it can be compatible
+with things that scrape sdkmanager output.")
+ (license license:agpl3+)))
+
(define-public android-udev-rules
(package
(name "android-udev-rules")