From patchwork Tue Mar 8 17:31:07 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: 37655 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 D29B627BBEA; Tue, 8 Mar 2022 17:32:23 +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 A6E5127BBE9 for ; Tue, 8 Mar 2022 17:32:23 +0000 (GMT) Received: from localhost ([::1]:34778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRdh8-0006Hw-NM for patchwork@mira.cbaines.net; Tue, 08 Mar 2022 12:32:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRdgr-0006EZ-1L for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRdgp-00031A-7b 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-0007VS-4U for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54299] [PATCH 07/27] added rust-ndk@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.164676070228561 (code B ref 54299); Tue, 08 Mar 2022 17:32:03 +0000 Received: (at 54299) by debbugs.gnu.org; 8 Mar 2022 17:31:42 +0000 Received: from localhost ([127.0.0.1]:57615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgU-0007QR-5m for submit@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:42 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:51710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgR-0007Oz-G5 for 54299@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:39 -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-201.mailbox.org (Postfix) with ESMTPS id 4KCj6s2cLcz9sb9 for <54299@debbugs.gnu.org>; Tue, 8 Mar 2022 18:31:33 +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=ABbDUKMooIEWyiUTMQfqg+rj74oQTMTO82fP1tXeQYU=; b=ZIwt/VJdy+maMcx1oztRXGU/VgOBahfgwIpegKHOBPmFqVOmE12Lw4roNin9e756yimkkm tQbBNwj9l5IEoKlJg9eKOrwMep3pjOjiEwHbrMdoMLsvzaOy8arU8rdtuqzWGPFAP8s0cf RC21Vf/wMT8d3ChNhCdDlR3PP+k9CSrrjnc5WTMffH/p/hbsbEARYGd0ScSVkxH2YVampy wA4vw6UsPrnJO5ncpTxp01gA/ZIyO7tjug2wIVdlWT3V0PKXziIKq1GQenhuZtmUMeNWQ6 CX+XArJyJKZ6WWoycJ4ZaRNfejQu+z4a5ts2skdN5UAxCUgY9E38jzgshzWPWA== Date: Tue, 8 Mar 2022 18:31:07 +0100 Message-Id: <20220308173127.21218-6-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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8af85cd48..483b138054 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36380,6 +36380,27 @@ (define-public rust-ndk-0.2 "This package provides safe Rust bindings to the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-0.5 + (package + (inherit rust-ndk-0.2) + (name "rust-ndk") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ndk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17b9imdmv6cffr12bdpvxw1myxdyvaf6jwkmd3w7abn7akv6in4n")))) + (arguments + `(#:skip-build? #t ;XXX: Android only + #:cargo-inputs + (("rust-jni" ,rust-jni-0.18) ("rust-jni-glue" ,rust-jni-glue-0.0) + ("rust-jni-sys" ,rust-jni-sys-0.3) + ("rust-ndk-sys" ,rust-ndk-sys-0.2) + ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-ndk-glue-0.2 (package (name "rust-ndk-glue")