From patchwork Tue Mar 8 17:31:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Till Robin Zickel X-Patchwork-Id: 37658 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 35BFF27BBEA; Tue, 8 Mar 2022 17:32:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 059A727BBE9 for ; Tue, 8 Mar 2022 17:32:36 +0000 (GMT) Received: from localhost ([::1]:35548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRdhK-0006tm-IU for patchwork@mira.cbaines.net; Tue, 08 Mar 2022 12:32:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRdgq-0006EV-Vf for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRdgq-00031H-0h for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRdgp-0007Vi-T2 for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54299] [PATCH 08/27] added rust-ndk-glue@0.5 Resent-From: Till Robin Zickel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 17:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54299 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54299@debbugs.gnu.org Received: via spool by 54299-submit@debbugs.gnu.org id=B54299.164676070528600 (code B ref 54299); Tue, 08 Mar 2022 17:32:03 +0000 Received: (at 54299) by debbugs.gnu.org; 8 Mar 2022 17:31:45 +0000 Received: from localhost ([127.0.0.1]:57627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgW-0007R0-Qr for submit@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:45 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:36028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgS-0007P2-3i for 54299@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:40 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4KCj6t164vz9sT1 for <54299@debbugs.gnu.org>; Tue, 8 Mar 2022 18:31:34 +0100 (CET) From: Till Robin Zickel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illegalaliensfrom.space; s=MBO0001; t=1646760693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1oUuiG1hvPtGwtPWKW1F2mJwrhgTLWLhbphaKXppx7g=; b=wokpuCdozl66zWF/yqwSttsYVM93Xg9l8gFgVBaqUezGqkaJG9XmldgLJ1I2KwDhevpGyR H8abfXS3FPQ5S2rfCdbrg4ZvzH7RU1TNVkUidKbnu0Yam6VfUsGkO98CWJWpEehaO+S84A ob6+C2XhgpeO6EXYeWe1aT+vCR+AnvxW8jETXntd26LZ0Bl3MLcfXW3KshYPiYrRMLxCSG RdginoOeJhpUz7ia4fI+V0HxUd23UvLqTB379X02jejR+guVk40sAdmSWCVEcYWPOpNxx+ F2zomNhZc8Y9448xmH/K/DOD8onuRu9f7p8mRprMDOXPX0B6laC3twj8FuFmWg== Date: Tue, 8 Mar 2022 18:31:08 +0100 Message-Id: <20220308173127.21218-7-trzickel@illegalaliensfrom.space> In-Reply-To: <20220308173127.21218-1-trzickel@illegalaliensfrom.space> References: <20220308173127.21218-1-trzickel@illegalaliensfrom.space> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 483b138054..633123bc72 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36429,6 +36429,33 @@ (define-public rust-ndk-glue-0.2 "This package provides startup code for Android binaries.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-glue-0.5 + (package + (name "rust-ndk-glue") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "ndk-glue" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qkjqmz4hw37mf0igczhn90ifdyd0r1790x38ykwjprwd1q8zim1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;XXX: Android only + #:cargo-inputs + (("rust-android-logger" ,rust-android-logger-0.10) ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-ndk" ,rust-ndk-0.5) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-ndk-macro" ,rust-ndk-macro-0.3) + ("rust-ndk-sys" ,rust-ndk-sys-0.2)))) + (home-page "https://github.com/rust-windowing/android-ndk-rs") + (synopsis "Startup code for Android binaries") + (description "This package provides startup code for Android binaries.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ndk-macro-0.2 (package (name "rust-ndk-macro")