From patchwork Fri Jun 11 12:53:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 30149 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 58F4527BC81; Fri, 11 Jun 2021 13:56:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 08B3227BC78 for ; Fri, 11 Jun 2021 13:56:48 +0100 (BST) Received: from localhost ([::1]:56866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrgiN-0002Ob-4Q for patchwork@mira.cbaines.net; Fri, 11 Jun 2021 08:56:47 -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 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 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