From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AEvSD4Jdw2AHwAAAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 14:56:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EIcrC4Jdw2BIcAAA1q6Kng (envelope-from ) for ; Fri, 11 Jun 2021 12:56:34 +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 DB1B617A56 for ; Fri, 11 Jun 2021 14:56:33 +0200 (CEST) Received: from localhost ([::1]:55822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrgi9-0001ck-0B for larch@yhetil.org; Fri, 11 Jun 2021 08:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrghg-00015p-QS for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrghg-0005wI-JP for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrghg-0003GR-KC for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9. 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:04 +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.162341613712434 (code B ref 48956); Fri, 11 Jun 2021 12:56:04 +0000 Received: (at 48956) by debbugs.gnu.org; 11 Jun 2021 12:55:37 +0000 Received: from localhost ([127.0.0.1]:38403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrghE-0003EU-RH for submit@debbugs.gnu.org; Fri, 11 Jun 2021 08:55:37 -0400 Received: from out203-205-221-153.mail.qq.com ([203.205.221.153]:41813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1lrghB-0003Dr-PP for 48956@debbugs.gnu.org; Fri, 11 Jun 2021 08:55:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1623416125; bh=fIDQNS1EwrVNsmyRx/i+YikhV7Pi9aGxK6kB9KzMzto=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Zdy5oc9W6EFt1cuK5h+WsAUH9Shh7V3+sAn1xgJJzJVKYmorpj7E/5nMnCAq59XQw Xh275y5+su2Cw2sMWFGo5pwYiLfLc04Z9tK+1M9bpkRtyrDzUbPD0oHl/JKmXPofUu vt9vC4bCClpvy5P/FcC1hnyxgdC8UovLJtW4kuks= Received: from localhost.localdomain ([2409:8928:1204:1e6e:6319:fd60:2291:6721]) by newxmesmtplogicsvrsza9.qq.com (NewEsmtp) with SMTP id DD78686B; Fri, 11 Jun 2021 20:55:23 +0800 X-QQ-mid: xmsmtpt1623416123t0c5jj1yf Message-ID: X-QQ-XMAILINFO: MMnP0fEUKo/h7j7dqk0GaXEQGtcji6inUpSSaYyN1fmWjJ+p/ecxb8pOq1kR0X p0Fq/5VbmlWxsmoZyGKrCucA/OkR/PeM6kiI7wmaUCCRVshw4o2ZRHbUrPcDLwdniVXSdJI4R735 7eJruAW+l1lxsy60veKHvy1MyqFY3ikW9JFgbLr0lnXGdT/StfZg76Rpm3+DFGhJ8tzvJxq8xdjT UJnYUWk38OumO3ErZ+fc5peLFACfRr+pdCa2aipyVkLbnvjqaOvJlDbcJKkbJaL8G4cDThTExM3B poEpdkhwbA/P0EwysMMHG/+JDm10pyIranYlbayhH+FR1H5CTm0ENvP/9JjVj+JcXLuTP3dopnGA /XkpuD5f7IuQMAY0netq062YALU0ODjvA8Z9h1Ga8CUCE56Q8bH4HuB1Xb7ttPA2jMwlWOvFV3x+ cscgUoBCGUKZNxo+Gb9stGoAM4o5klHJckOaNhU4kv3l0q/igp+0K/cW4Xn/Z/mQ2u+kudA3zarx R3w+8fWgY3oQAZZ2rmOKshqFWVPgKYg283ACym8+tJK4Noz1ffQTevOSDXNnvzctA5Ddlv8KqdUz 0aXambzR+b9sXIVbH/Xpw3h8i25Mx7JHla4ByepM6lyCgrvZObQfjx7/FdiQlWJ57t+WNwxp9pse ugomLLMmHOFbINCLOXa9veCvciufvPswa4sxpg/WtWp0hwSz2tV8K8jL1i1ocaa5U0iBHPeHXPba RCPMB/iKGNB0nSEIApRY52FYpIUr9JXBFnpKWKaIkIwZq3kp4Su2porLoUpDJjq9cM1ndwLe7wdd oaQCiD00l5yW8h8jKfIRVGb9Efe4DtW+bpB7r2GhWi22CGBLuAjm4HtpHKX8kjCztf2ebN+UKR1h B+e+FEvMNf9LUJCWL6nwmPidRLGZE+sA== From: Zheng Junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 20:53:10 +0800 X-OQ-MSGID: <20210611125337.10255-16-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=1623416194; 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=fIDQNS1EwrVNsmyRx/i+YikhV7Pi9aGxK6kB9KzMzto=; b=Z0XPLZLh954skJuQdqevIuhHiEmQg+bHnfWjOThNJx9HWiQf7qgDP5t0jZNKUkzBQZ577R 4b8aOW8hOY4jdkZAOq1bMLacKcJ+XKtYLEF56Kn1bMf3JFZ5CedgEDjp4Bemy+B0UklCR4 4RJLjNHHhoHpqnVSRXGmkJkK2P1RaY3Vp/FobAuXAI+5eE+UI0cg8drlWyL8VnTzzzYOyf 5kD0XZVD9OHwDoKYe1jGe4qRU0R6+1dBywJb5rb22YTGn10ynmL2VU0544lvJ1ZlU8OsU2 WAKYWZPdXNLkeBRzg2dHUsIR1VrdH5BDdVLDIg/mX2d7YmEVePK2tGOZ6kRlww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623416194; a=rsa-sha256; cv=none; b=HXKJxPCocS2bfaparJH9BfHL+Vp7Ht/PvESfkHbq1sF1c6khzwvnty9aWL3jcD71SCC5yq HjBzt3GEfUyKZjrjsIiepjcxvfVe/wWh9PB8iyDW9mpyNG5JNf/NIENcAsf2W8Mg+4rH37 IcmcQf0DEZO26QVYezN5IJSsgDtNTceGRT/sNZ2rEl341Hnrg4FU9a11pAC4aKTRwmuZzc fT2OrBJGlJq2dbk8UFXMU+NOCY2ZdbtaTFUV9FLDA36d936hxM6rHIqEigVbBbzbK4/6/F 3QQ5o/kKaA5PsHG1LftJixp2h3uIkJ0u/RzaBAC1h4Pux96nL3/FJZT/RfLXWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=Zdy5oc9W; 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=Zdy5oc9W; 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: DB1B617A56 X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: XzWlbUCRQPer From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-inotify-0.9): New variable. (rust-inotify-0.8): inherit from above. --- gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c73d90a4e2..d961b21c1d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21033,8 +21033,40 @@ deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.") (license license:bsd-2))) +(define-public rust-inotify-0.9 + (package + (name "rust-inotify") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "inotify" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cs3xlkq3fnfca3mimvifazp01ayscinm07v38ifw0xin5f4fcdh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-inotify-sys" ,rust-inotify-sys-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/inotify-rs/inotify") + (synopsis "Idiomatic wrapper for inotify") + (description "This package provides an idiomatic wrapper for inotify +written in Rust.") + (license license:isc))) + (define-public rust-inotify-0.8 (package + (inherit rust-inotify-0.9) (name "rust-inotify") (version "0.8.3") (source @@ -21044,7 +21076,6 @@ as both traits and pure functions acting on String types.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1m74znskinrvfcp0hczwwdxvc7kvnrrailngkivk1iwknfa0mpa6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -21056,12 +21087,7 @@ as both traits and pure functions acting on String types.") #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-tokio" ,rust-tokio-0.2)))) - (home-page "https://github.com/inotify-rs/inotify") - (synopsis "Idiomatic wrapper for inotify") - (description "This package provides an idiomatic wrapper for inotify -written in Rust.") - (license license:isc))) + ("rust-tokio" ,rust-tokio-0.2)))))) (define-public rust-inotify-0.7 (package -- 2.32.0