From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oBFNAacduWU0rAAAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Jan 2024 17:02:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oBFNAacduWU0rAAAe85BDQ (envelope-from ) for ; Tue, 30 Jan 2024 17:02:47 +0100 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=mZrBQ5Ra; 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=1706630566; 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=/Ac4O6zDFyg/aLW1srWhRQB1jy52S/5JPxHxs5jkV6M=; b=QvpTzDoCXZQVPqxI1SLGGspsR9d7EgrFJH3QFZgP/9M3tJ/2qci25UNjjUs5nk779U9jED yyF+YlMnp47vsZk9qtZYhl40i/7aXpjzlFarwZna4PNcX+tJH5hEK1PxJ2e9C8Fd72QTmQ oxgoTk52CB1Bj/iiUUHzi7empz08pJGmYOsLyl7IhSydKB77hD/qTCsCt1AeuIOsuq+qAy QlQq+Egrt898ZoUNslYpJ1cCRL8BoC9IB+eRDG3NXbmrFK2tth5u9YIv+9Guc0az06m30i OeVYXJbQcBQg5qA33glRv88/Xw4a9lhQo/8IFPx2XW0DWjomEKNDwp8+ZqAkbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=mZrBQ5Ra; 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=1706630566; a=rsa-sha256; cv=none; b=kxwrviuZkm0PVnF3VnRLKIFHZx7/rGauxaPBNGfQO6vDA64hPiK4LCsg51iSOG2ZUK9nMa n2g++H3SuW61+9qIPdWAQoRW7CdMxtzv/RQ2foAOZn84csWFaFk7vuKplpwwraqhJRCp1o 3cHXFUaholBjhFZEQztL2ZnaOWXRmKaxZoNW2M7MN3L1ACqPJGPyJoZ+mqCB1sP86GwhIR UTcDiqvmsKiEHhKvdvgDoXS0iDllMDI6P5F70U7fAXEnuC+rHp8ogBVa4ay8XlhFZm3J+c ZeNbH/Yzgy15ZmZZvFfuwQnfC58gTqWsHHuxzSnis6vexLy8yjbcK2wbf3jqoQ== 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 E34B15E7C1 for ; Tue, 30 Jan 2024 17:02:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUqYl-000549-Ng; Tue, 30 Jan 2024 11:02:03 -0500 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 1rUqYf-0004zR-5g for guix-patches@gnu.org; Tue, 30 Jan 2024 11:01:57 -0500 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 1rUqYe-0005mq-Tl for guix-patches@gnu.org; Tue, 30 Jan 2024 11:01:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUqYn-0000NZ-NV; Tue, 30 Jan 2024 11:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68819] [PATCH 27/49] gnu: Add rust-event-listener-4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 30 Jan 2024 16:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68819 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68819@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68819-submit@debbugs.gnu.org id=B68819.17066305201347 (code B ref 68819); Tue, 30 Jan 2024 16:02:05 +0000 Received: (at 68819) by debbugs.gnu.org; 30 Jan 2024 16:02:00 +0000 Received: from localhost ([127.0.0.1]:36436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUqYi-0000LZ-8q for submit@debbugs.gnu.org; Tue, 30 Jan 2024 11:02:00 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:49587 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUqYV-0000Jm-Jz for 68819@debbugs.gnu.org; Tue, 30 Jan 2024 11:01:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1706630490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Ac4O6zDFyg/aLW1srWhRQB1jy52S/5JPxHxs5jkV6M=; b=mZrBQ5RaD5mVkP5JCuWZMD8jGVaYoBwWx+TDvgjXWRLAaECPrhoGYQnQXI+ob5i8K53i+r c1zdhpGcsZ1BIwon7KMNq5zUmaoj4Ow2MOdIwyYwWfHCJkilHVvPwXLL+i7vAaDkDcnpcM YzAleuG0V8BpT3LBqnSPT9b4Io4EDBPpYZ1JUik4RHP6wd2W/qbdOhbpmfJgknc57ZnQ19 QLSJBaz1DH1TvSIpluIrEOFdZ8B2u/pntiw0VQ1OHbhR9/ereCszpyXqefJdawtsHQ/x1g eXc7IzqUOQuJE0ilBYVXdAlpIWLhgF8qULBntgCDBaM+eglirJtDo6BNBS5GXg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 2878473b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 30 Jan 2024 16:01:30 +0000 (UTC) Date: Tue, 30 Jan 2024 17:00:34 +0100 Message-ID: <608f5eae7c54d306845de784011772c1f7b5a048.1706630138.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.66 X-Migadu-Queue-Id: E34B15E7C1 X-Spam-Score: -6.66 X-Migadu-Scanner: mx11.migadu.com X-TUID: KvUnz++m8abW * gnu/packages/crates-io.scm (rust-event-listener-4): Add variable. (rust-event-listener-2): Inherit from rust-event-listener-4. Change-Id: I23ebc60b21fb33e992832553dd9817672b4fb920 --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b840aecfd6..2241dd126e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21363,23 +21363,31 @@ (define-public rust-evdev-0.12 (description "This package provides evdev interface for Linux.") (license (list license:asl2.0 license:expat)))) -(define-public rust-event-listener-2 +(define-public rust-event-listener-4 (package (name "rust-event-listener") - (version "2.5.3") + (version "4.0.3") (source (origin (method url-fetch) (uri (crate-uri "event-listener" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q4w3pndc518crld6zsqvvpy9lkzwahp2zgza9kbzmmqh9gif1h2")))) + (base32 "0vk4smw1vf871vi76af1zn7w69jg3zmpjddpby2qq91bkg21bck7")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-waker-fn" ,rust-waker-fn-1)))) - (home-page "https://github.com/stjepang/event-listener") + `(#:cargo-inputs + (("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("rust-parking" ,rust-parking-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-portable-atomic-util" ,rust-portable-atomic-util-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-waker-fn" ,rust-waker-fn-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/smol-rs/event-listener") (synopsis "Notify async tasks or threads") (description "This is a synchronization primitive similar to @code{eventcounts}. @@ -21387,6 +21395,23 @@ (define-public rust-event-listener-2 blocking data structures.") (license (list license:asl2.0 license:expat)))) +(define-public rust-event-listener-2 + (package + (inherit rust-event-listener-4) + (name "rust-event-listener") + (version "2.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "event-listener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q4w3pndc518crld6zsqvvpy9lkzwahp2zgza9kbzmmqh9gif1h2")))) + (arguments + `(#:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-waker-fn" ,rust-waker-fn-1)))))) + (define-public rust-executable-path-1 (package (name "rust-executable-path") -- 2.41.0