From patchwork Sun Jul 23 18:41:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52145 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 53E2F27BBEA; Sun, 23 Jul 2023 19:51:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 012F027BBE2 for ; Sun, 23 Jul 2023 19:51:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNeAd-0008Eh-Ho; Sun, 23 Jul 2023 14:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNeAb-0008EJ-Tu for guix-patches@gnu.org; Sun, 23 Jul 2023 14:51:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNeAb-0004oI-0Q for guix-patches@gnu.org; Sun, 23 Jul 2023 14:51:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNeAY-00046b-B6; Sun, 23 Jul 2023 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64808] [PATCH] gnu: Add andorid-sdkmanager. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, andreas@enge.fr, guix-patches@gnu.org Resent-Date: Sun, 23 Jul 2023 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64808@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com, andreas@enge.fr X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: maxim.cournoyer@gmail.com, andreas@enge.fr Received: via spool by submit@debbugs.gnu.org id=B.169013820615713 (code B ref -1); Sun, 23 Jul 2023 18:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2023 18:50:06 +0000 Received: from localhost ([127.0.0.1]:41229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNe9d-00045N-L0 for submit@debbugs.gnu.org; Sun, 23 Jul 2023 14:50:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNe9Z-00044l-Uj for submit@debbugs.gnu.org; Sun, 23 Jul 2023 14:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNe9U-00088n-Hu for guix-patches@gnu.org; Sun, 23 Jul 2023 14:49:56 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNe9S-0004PZ-M4 for guix-patches@gnu.org; Sun, 23 Jul 2023 14:49:56 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8C5W4zx3z9tDM for ; Sun, 23 Jul 2023 18:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690138191; bh=sjFNvTnYIzTLiRSHSQ0kcMYJQh/zr62S7yRxrU//DgQ=; h=From:To:Subject:Date:From; b=OsPjMgotF0jm99Ci672fNkwI1tjgBES5O0DdzvxZRkDGULZm7gmcsK0beDjjZvTWs FgTjHsz6utJrY1v0nogTn76YkSxjCqGXk75GlXOovjfuWwcGpquNYil9UcAA4fmXlg mbbO4GHau7Kg8ULNbqGwkSc75bTN1cV69suNH4hI= X-Riseup-User-ID: ED525548EDBF4F5F3CF71269A8EF061C02EBCB48BF4C36EE3900F1D3BDA4FA00 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8C5W0k19zJnsx for ; Sun, 23 Jul 2023 18:49:50 +0000 (UTC) From: Distopico Date: Sun, 23 Jul 2023 13:41:32 -0500 Message-ID: <87y1j6o437.fsf@riseup.net> MIME-Version: 1.0 Received-SPF: pass client-ip=198.252.153.6; envelope-from=distopico@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches A drop-in replacement for sdkmanager from the Android SDK by F-droid project. * gnu/packages/android.scm (andorid-sdkmanager): New variables. --- gnu/packages/android.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) base-commit: 13cb9b302868b5a966a6ae177412c474084f4bf1 diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index f35c2398bd..24f5fd2893 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Sergey Trofimov ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; 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")