From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sOrPF5Fdw2AFwQAAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 14:56:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4OlUE5Fdw2DLbgAA1q6Kng (envelope-from ) for ; Fri, 11 Jun 2021 12:56:49 +0000 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 EA1E6B874 for ; Fri, 11 Jun 2021 14:56:48 +0200 (CEST) Received: from localhost ([::1]:56866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrgiN-0002Ob-Vq for larch@yhetil.org; Fri, 11 Jun 2021 08:56:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrghi-00019V-BO for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrghi-0005wr-0N for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrghi-0003Gs-05 for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 12:56:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48956@debbugs.gnu.org Cc: Zheng junjie <873216071@qq.com> Received: via spool by 48956-submit@debbugs.gnu.org id=B48956.162341616112500 (code B ref 48956); Fri, 11 Jun 2021 12:56:05 +0000 Received: (at 48956) by debbugs.gnu.org; 11 Jun 2021 12:56:01 +0000 Received: from localhost ([127.0.0.1]:38412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrghd-0003FU-0d for submit@debbugs.gnu.org; Fri, 11 Jun 2021 08:56:01 -0400 Received: from out203-205-221-231.mail.qq.com ([203.205.221.231]:38683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1lrgha-0003FD-KC for 48956@debbugs.gnu.org; Fri, 11 Jun 2021 08:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1623416150; bh=3m38nYCZPW8FBlAQ/eNobY3eEaq93wfJyzGJxdNvjv4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OUzj6A08d0g3a/TSSAHANEAxxtypXxMfrgu/qrxvrXyHeVoYNmU0h2J9lCHsDG85z bE+r7uj2lj8NN2/NMn7Xp83aXzVX0J1CtctFYMgSCfoVGoeZs4+CuDxnjYPiKXJq2x Z0+rwvjThUDzlHDVHgpY0lbwUHZgYB6TwMLUl8go= Received: from localhost.localdomain ([2409:8928:1204:1e6e:6319:fd60:2291:6721]) by newxmesmtplogicsvrszc8.qq.com (NewEsmtp) with SMTP id DF09884E; Fri, 11 Jun 2021 20:55:48 +0800 X-QQ-mid: xmsmtpt1623416148togk4hakh Message-ID: X-QQ-XMAILINFO: MfB44pUq4Z5x2BBn+tmJjVcj0LTi01+0qZkyxXSX/+nwqAL6GDz/r/sJOexaZ8 j3FInIGeFAk2YR96JBVyczcVl5s5zfqHfEMM9Ae7GFi8DXszXTpRTzMjOnlDgmPFlUCgPhSXQYUS +n7dgoSZSX+l8ylMvMpSdmZD6kpmQWr4LYTNXST9XnheobJLzz7qTUXa8EQgPFj1+c3GVn313G8h dukdH0+pH+0xVYfomieJhlx0rxdNFUJB3mYfoBTG+G7w80ewDQF0CTcJcSUSIgYfKSMm+ZAkIr+g +Ls4i4DV2lTyZXHhKCE/rgPT2TpkvHTANrSHYFNmaKnTBrh7NXADArZVsnZ3qkyueYrqp6Chj1nJ 363z6v2y9jGtMMTGDP3ICZBtot+0E7/31n4wnAylK27PzLOJuOu3RPKJhFOpdmdj4nKI7NDS+xlQ AFk1hFqZkcD5ZOCDhUZ5CjNz11UoKXc+hdeFuDTvnBLlasX+5AQQIUelEkXCB21cd7MIX6ciBv6U gZmYPIFcg/0I5A+BK6YTKJa4U7c4vqgy79x5VFgOf/h/0y3jn6L+Z9uXrJwuHdSZlaIOTaiUog1l M9Y5s9ithMMdpPh98FAoDliZqrtm5XDptXfd03rjHJ8IC9U7U7p/GBW+JznMBo8OMzhcx1ugInKq YhStLaQuESQpV+iISiWLWhLM/PWDJu+e+pcn5na5AjD4YvwJxizJVXgNqz1vbl4TSvl8zloVQxJI 6W8E6Q2G4K05/Ga2cZVRWrBNWgDdh0gFtHrSnNc/kT6ffBb/eEv2ldvvfdDmbOyw7XOSX48+Jt81 SGxUM+KwWCAq46TR3XknAhtFVuJFwo6/OhoD2D37+vK8llVlbZ2gEB3nlatbqIJKbM5eJR6wwUfG TQj7NygboRYbYBzbdcYoZa56/ygPcmAA== From: Zheng Junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 20:53:13 +0800 X-OQ-MSGID: <20210611125337.10255-19-873216071@qq.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210611125337.10255-1-873216071@qq.com> References: <20210611125337.10255-1-873216071@qq.com> 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623416209; 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:dkim-signature; bh=3m38nYCZPW8FBlAQ/eNobY3eEaq93wfJyzGJxdNvjv4=; b=m7h3WmsDlAHJgpwaGffeq2WenSZfrgrF0EZxyOAZ42RrEfgrGFIpNSr55Lf8sNhiLtidov r5jzr6+4CNZOVJEg1N6IHgiy6MxnIxjjF1spQjgBW0c93r7dpVXw5Bju+60bBW2kucPwM2 lI8+WRLyKenjFiQNXuDrtm6ZD9lsYOvlrLkJYvlp9f5dOEomH9TCtkTLDSBx+DnNu3vcEh YvXXUcI8ppVSEF7pZvuDo2R5ovxHQoD1CduKzafocBWXax4hmJPSD+4kQfk8egU6SrCEMM DpnlZwl2NpK9OvbVjMKoY9fp0gaKjbVqs0E6aYSsJ3xxT7U/0bGNsZFDKWyZeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623416209; a=rsa-sha256; cv=none; b=Z0ZJ5pBNIJAiWSdrQiBanwWXArH75xPx0K+a8fOb//9wpWNIN69Mrqfby2U4LYf9QT+yfQ vnM+65JCjJ1ijhyAvaia72o5mDL/mvRXsZxivXNbYAWfKnRWHKfKu1GS2N9/yFx0rOKhcq koXmXongFSrf1D/prnhWj3/wDpp6J5dFmBnBOz9BpppQgkjD/1/VR67qT7tvK0JGW/p+N+ BOUuAhDlzuBBefBft+A8wuy0SvN3Q2XVYIIdRipiMCbPHyVZ8SEaI8u6GWzeq35qQszGRl W9dVRD2IHyUzzwu1L/DeZVpAR7ZRjJV77RlrLATFo+Q1MCJI4AbgYP2H4OPNuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=OUzj6A08; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=OUzj6A08; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA1E6B874 X-Spam-Score: 2.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: Yn1XXWnXOBQA From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-fsevent-2): New variable. (rust-fsevent-0.4): inherit from above. --- gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d6e40d293..6431e0abc9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16199,8 +16199,38 @@ process and much more.") "This package provides cross-platform file locks and file duplication.") (license (list license:expat license:asl2.0)))) +(define-public rust-fsevent-2 + (package + (name "rust-fsevent") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qsylfbhgha319q6a8yvkznbm3hf47gy3y8nq82qijcm5hh4gwwp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-fsevent-sys" ,rust-fsevent-sys-3)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.2)))) + (home-page "https://github.com/octplane/fsevent-rust") + (synopsis "Rust bindings to the fsevent-sys macOS API") + (description + "This package provides Rust bindings to the @code{fsevent-sys} macOS API +for file changes notifications") + (license license:expat))) + (define-public rust-fsevent-0.4 (package + (inherit rust-fsevent-2) (name "rust-fsevent") (version "0.4.0") (source @@ -16220,13 +16250,7 @@ process and much more.") ("rust-fsevent-sys" ,rust-fsevent-sys-2)) #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3) - ("rust-time" ,rust-time-0.1)))) - (home-page "https://github.com/octplane/fsevent-rust") - (synopsis "Rust bindings to the fsevent-sys macOS API") - (description - "This package provides Rust bindings to the @code{fsevent-sys} macOS API -for file changes notifications") - (license license:expat))) + ("rust-time" ,rust-time-0.1)))))) (define-public rust-fsevent-sys-3 (package -- 2.32.0