From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MBRYNtkRS2Zf9AAAe85BDQ:P1 (envelope-from ) for ; Mon, 20 May 2024 11:03:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MBRYNtkRS2Zf9AAAe85BDQ (envelope-from ) for ; Mon, 20 May 2024 11:03:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=sqAOmLlf; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716195801; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=XhymF6LP7MZqVJ73r/TZZEHDpPYDLrFBdaxFQCLfv90=; b=hHDGgisQut7hhedBhyEW4Y6TUHMAfeUx4VPanX6WOseSaKrGNaOQ9UquAILPzbdguJ6Qne XHASCOfVsSIqGvPRkz6Gztu4oE7Qk2uoHaSUGPnBQ/I3saHe2CQS6oQ+cSQa8KJC3t3BQd //G8CXzhIdnC4ds5f2AWUdeVx7A0As0OUP0g/aPuQTc3aEKlhHPBgUac8GVM/JMt9X+kE3 raNItRP0fq5qKpGn3Cm4j0YZneQ76CElYrFfKe/tqZ/AuHeTwZsZFMb3OSRsflm5+E7SCk z58aKjuMbBYiaEu3Fxa7E44ggjNeoKEFI5PDWyVnCUGlzrrTiL3SmaTjI213pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=sqAOmLlf; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716195801; a=rsa-sha256; cv=none; b=neOO/lxn1+tNhn6PReVY3LuuiTyJkiNo33JPcW0UZviV1lBjJmHRkC98R5HpsuiEfhbYeY g2yuu2QYgFgrnJG4q3xymmZqooOY9s/g3F9b2XYdm4QC1YpG8PzCmAHQaX5AgMpLLiAhHZ VCaqGayMIoAwyDf/BPo3mhNFxPwPs56l4Ys7e1Qt/CqqDZ+vmoOoy+g85uq3qzN5CRCpdZ XLgiAKoHH6ofBFL9I8Glc05zSr+D/tgnf18yp+UYU8GJmC9pM+42EfJkIS32ab2RxHQFW4 zca4xL8dtB9NLDJW/aMXykwepmBX1KP/HJOWGd5gZWyw45Qv3B1N4FTIAnEY/w== 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 C0A28F862 for ; Mon, 20 May 2024 11:03:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yv4-0001gQ-3S; Mon, 20 May 2024 05:02:58 -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 1s8ytM-0000YJ-Ue for guix-patches@gnu.org; Mon, 20 May 2024 05:01:12 -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 1s8ytM-0006p4-Mc for guix-patches@gnu.org; Mon, 20 May 2024 05:01:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytR-0007HS-4G; Mon, 20 May 2024 05:01:17 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 33/81] gnu: Add rust-android-logger-0.13. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619566027542 (code B ref 71076); Mon, 20 May 2024 09:01:17 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:01:00 +0000 Received: from localhost ([127.0.0.1]:41183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8yt9-0007A7-Q1 for submit@debbugs.gnu.org; Mon, 20 May 2024 05:01:00 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43493 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysU-00072t-W2 for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195607; 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=XhymF6LP7MZqVJ73r/TZZEHDpPYDLrFBdaxFQCLfv90=; b=sqAOmLlfGM5ixUwetGdi3cktIyeW1HBqWgQ+EdaTQEV2mPHmW0NPfwrEoKFtXBjw2P4eHa +NL3OFmn/qwPqbFGhzL4x9axXIKPRlUZDrsniTuUo3aZKXHnK3lHpdEWyt5lKQclZb3dAb LReqIPIyUmtCKGJfR5qI2bRTfv6Afl1Bkdwvg/7D8UIjmJ1kN5yQEZx3tryM9Nd517w45q cpJux9i90VWeUqSH4xPnSfC/dpDopcaAeNc9Ws5laEra1Um59zX1/uFEWmnjf6ZRo0ZvOu FlCCyRhtL6qdO7eqMJpv68zEQysKOCTAbrTBcYW+JnJnue0akAxhYW0sx4T76Q== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 935a6385 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:07 +0000 (UTC) Date: Mon, 20 May 2024 10:58:38 +0200 Message-ID: <38e9a589bb72dd34ceaeb8cdf37b7d8ef872bdba.1716193123.git.herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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-Spam-Score: -4.86 X-Migadu-Queue-Id: C0A28F862 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.86 X-TUID: DYcLmUR4hbwE * gnu/packages/crates-io.scm (rust-android-logger-0.13): Add variable. (rust-android-logger-0.11): Inherit from rust-android-logger-0.13. Change-Id: I63838f75071ed3867f3fd36b1a3950fffd4171ed --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7902fec50..9485ed62d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1582,8 +1582,34 @@ (define-public rust-android-log-sys-0.1 (base32 "0klq7cp4lm74gjf9p12zdjcr159blbicrfvadmaqvfxbi8njw1dq")))) (arguments `(#:skip-build? #true)))) ;XXX: Android only +(define-public rust-android-logger-0.13 + (package + (name "rust-android-logger") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "android_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bvp6lf39q0zykn70lys562kdb14r9dfm91m79jxq53cfi7i7564")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-android-log-sys-0.3 + rust-env-logger-0.10 + rust-log-0.4 + rust-once-cell-1))) + (home-page "https://github.com/rust-mobile/android_logger-rs") + (synopsis "Logging implementation for @code{log}") + (description + "This package provides a logging implementation for `log` which +hooks to android log output.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-logger-0.11 (package + (inherit rust-android-logger-0.13) (name "rust-android-logger") (version "0.11.3") (source @@ -1593,18 +1619,11 @@ (define-public rust-android-logger-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fl8ix7q1cj73lzy6xcwyrqwpvnx5aaxszawidivv9ra4h6bh6c6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-android-log-sys" ,rust-android-log-sys-0.2) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/rust-mobile/android_logger-rs") - (synopsis "Logging implementation for @code{log}") - (description - "This library is a drop-in replacement for @code{env_logger}. Instead, -it outputs messages to Android's logcat.") - (license (list license:expat license:asl2.0)))) + ("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-android-logger-0.10 (package -- 2.41.0