From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yDbIJL0BN2WvuQAA9RJhRA:P1 (envelope-from ) for ; Tue, 24 Oct 2023 01:29:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yDbIJL0BN2WvuQAA9RJhRA (envelope-from ) for ; Tue, 24 Oct 2023 01:29:01 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 76B1761EE1 for ; Tue, 24 Oct 2023 01:29:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698103741; a=rsa-sha256; cv=none; b=W4CzH9HDxpQsKO+iGcKgOVZOh9war0N2xVxN3Z98POgerOLsA/tH9bu3j6AtE42chiNrZA 4s6avpNbXW+1P809/xlhh7quHEfsplt1yL7WXoz9UJp8z6TuCVP4pRgqUkdx8XCVnCbNul XNenisK4+xpGKpgMuCRO4Ey2+biKz42X5UU99m7G7MqC7ZINhxzwzqvLbGUIk0V/V3aWuL 3KNfQLlYTaqYhKkO9JGbAkuR+s1NN/T0hj0VLMSvQDM48VKZHUPjE25nU41lczVv+lcrOI IrqqvEvaS6U/EeRjX+QfbnL2o2dzDL9XFclfAl8rjFZY6gwesdVAjc5WBA6Azg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698103741; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=VS+xVF9ZfXlgtptkHePDhSgURsHvecDF+LC+L5ynh8E=; b=Bh8hkq2X65LmKC3D+lezl1zR8nlgw+9Bx5eDlHerixYkKNLpPhoaOhJ9SAAWnCo5wQ+fBc 77UiDyRj7gw0P85asHPMfsdLPdeeuw4wboPcttw5r/009ncRvzF5DGGTvJcw4+piGZBdP3 /x7qNHEc0Svu+F1q/zo/U5OwG2M90fr90l/5CENIL5mkymGgdSnT/xZcAqzNXTBwnNOkxQ AyLJRN2gGvZ6BymfEd+fREXolX4n2y6RlnVa+Szhb58ojgvuCZoXg6idG485M7F76QQ0LR 4xhGlDrFSQm6dy8jHQCAiT3HhK+rD3xpUu2tPN7xeZIV9ya2FXgIs07dTIEUVg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv3Lm-0002xD-5b; Mon, 23 Oct 2023 18:24:42 -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 1qv3Lh-0002ve-Qs for guix-patches@gnu.org; Mon, 23 Oct 2023 18:24:39 -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 1qv3Lh-0004SR-G3 for guix-patches@gnu.org; Mon, 23 Oct 2023 18:24:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv3MA-0000oF-L9; Mon, 23 Oct 2023 18:25:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66717] [PATCH 13/64] gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 23 Oct 2023 22:25:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66717@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66717-submit@debbugs.gnu.org id=B66717.16980998792843 (code B ref 66717); Mon, 23 Oct 2023 22:25:06 +0000 Received: (at 66717) by debbugs.gnu.org; 23 Oct 2023 22:24:39 +0000 Received: from localhost ([127.0.0.1]:52179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3Li-0000jc-RA for submit@debbugs.gnu.org; Mon, 23 Oct 2023 18:24:39 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:40658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3Ld-0000iI-2Y for 66717@debbugs.gnu.org; Mon, 23 Oct 2023 18:24:33 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qv3L3-00F9XP-5X for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:23:57 +0200 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qv3L2-0000Ov-TH for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:23:57 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qv3Kx-003wO2-MU; Tue, 24 Oct 2023 00:23:51 +0200 From: Steve George Date: Mon, 23 Oct 2023 23:20:58 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.73 X-Spam-Score: -4.73 X-Migadu-Queue-Id: 76B1761EE1 X-TUID: /iXwuZ+xd88n * gnu/packages/crates-io.scm (rust-ndk-0.6): New variable. * gnu/packages/crates-io.scm (rust-ndk-sys-0.3): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0052a40e35..82150df330 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42842,6 +42842,28 @@ (define-public rust-ndk-0.7 "This package provides safe Rust bindings to the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-0.6 + (package + (inherit rust-ndk-0.7) + (name "rust-ndk") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ndk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m1dfjw35qpys1hr4qib6mm3zacd01k439l7cx5f7phd0dzcfci0")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("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.3) + ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-ndk-0.5 (package (inherit rust-ndk-0.7) @@ -43023,6 +43045,19 @@ (define-public rust-ndk-sys-0.4 (description "This package provides FFI bindings for the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-sys-0.3 + (package + (inherit rust-ndk-sys-0.4) + (name "rust-ndk-sys") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ndk-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15zsq4p6k5asf4mc0rknd8cz9wxrwvi50qdspgf87qcfgkknlnkf")))))) + (define-public rust-ndk-sys-0.2 (package (inherit rust-ndk-sys-0.4) -- 2.41.0