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 KNlXJHxMtWDbgwEAgWs5BA (envelope-from ) for ; Mon, 31 May 2021 22:52:12 +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 wKJzH3xMtWCeaQAA1q6Kng (envelope-from ) for ; Mon, 31 May 2021 20:52:12 +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 ADB7D2492C for ; Mon, 31 May 2021 22:52:10 +0200 (CEST) Received: from localhost ([::1]:49326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnotN-0006Nf-ON for larch@yhetil.org; Mon, 31 May 2021 16:52:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnotG-0006NV-MG for guix-patches@gnu.org; Mon, 31 May 2021 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnotG-0002UR-FH for guix-patches@gnu.org; Mon, 31 May 2021 16:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnotG-0001D7-4X for guix-patches@gnu.org; Mon, 31 May 2021 16:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48671] [PATCH 06/11] gnu: Add rust-merge-0.1. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 May 2021 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48671 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr , 48671@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 48671-submit@debbugs.gnu.org id=B48671.16224943064631 (code B ref 48671); Mon, 31 May 2021 20:52:02 +0000 Received: (at 48671) by debbugs.gnu.org; 31 May 2021 20:51:46 +0000 Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnot0-0001Cc-DX for submit@debbugs.gnu.org; Mon, 31 May 2021 16:51:46 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:52452 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnosy-0001CL-4G for 48671@debbugs.gnu.org; Mon, 31 May 2021 16:51:45 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622494290; bh=j7hP8KcS+EYqAunrSK8BO7iQtY9TN8nXly8Jmnvgflg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=NrZyKKyjA0tXZcCdnUXaJMzQpl3NmtaTWncaqBGbn5y3WxB0vsoWcx06/WBtcd5DH dSNWIvcQpLkKFmuLlK13J1RiSpGJ5k6IjgDeOvq3KE6TqGfB3sbwddybngp3RKLEqR DIOfnAzBixEg32sQf4OEn1o1Ild0Cyt91RQa7xuE= In-Reply-To: <20210530214212.11807-6-antero@kodmin.com> References: <20210530214212.11807-1-antero@kodmin.com> <20210530214212.11807-6-antero@kodmin.com> Date: Mon, 31 May 2021 22:51:29 +0200 Message-ID: <877dje39v2.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1622494332; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=dW06IUaCp1MAf1wWmVQ7PkEP/epTA4T2HlMpN4ArrSo=; b=EBjcs7FX7MxrVkGeEh3ol49pArVzziZzk6jXRfeY4zwMZy1WoTImOPU+snUNsyc1DiHdTL E3m9TGNmuE2RDdr+MjF73POlXySVsbhHM7muB0PCSgVZATHauCp7bv/1XwyUvE7+mCNuYX N82dSd7ZKesJSowQjKbBokUN6RqeGQlDdtDrPrhA2GCfT8ofuIfKVs0KD4slQDFyZHKOoU ZXDk+dY7lzNSReYB4wLsO/vYrHL9eGm2t8zMLXZph+yXliVTS/ZpLJcR8Wd/xPsxHWgjO3 MR5mXqoIUo/zIKg/+QuKZUXn6JEbTFHnxZezHkL/QMgnN3kdrZrXI48Z5dLPzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622494332; a=rsa-sha256; cv=none; b=l2KBN1unbipjppPpK5Mof5fKJLGC2MiDQhV2tcz3K/I7gbOvLIyd65xsHrYwlXCgMHqk8v J+2Ej1nXbbAOvo49OBEJkVvhikmm+mHHI/B+YighPkjtiKYMgWKVr5L3WfPQ+52dPHCZVA 7uOPfNCHMCaPvPC/sG9zmZP53594mK1jFgU4SXNOithVa8r/1PCDZLcIB01V5rZ3baaKR/ MrNlAXSKiOAw4Lh9g/jjKoVQAivmTNxXAJ4fgoPb5JyPGO5E0Q0Bprxix8PZ3hfZFnwVSs fNwwAWEQg8fV729kWUzv88uhvUeFZblXqR2aZQq+Hz/Pi4wZd0ouRDs+/CtEMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=NrZyKKyj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=NrZyKKyj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: ADB7D2492C X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: u7kCkqq7E/B9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, May 30 2021, Antero Mejr wrote: > * gnu/packages/crates-io.scm (rust-merge-0.1): New variable. > --- > gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) The second package should be in a separate patch. > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index e41920652e..7250853f81 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -23390,6 +23390,48 @@ for Rust structs.") > (sha256 > (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))= )))) >=20=20 > +(define-public rust-merge-0.1 > + (package > + (name "rust-merge") > + (version "0.1.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "merge" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1sck0vhi9lk8a6mgky0rgn842fj7yspywidwbd963nmimf9yzfqh")))) > + (build-system cargo-build-system) > + (arguments > + `(#:cargo-inputs > + (("rust-merge-derive" ,rust-merge-derive-0.1) > + ("rust-num-traits" ,rust-num-traits-0.2)))) > + (home-page "https://git.sr.ht/~ireas/merge-rs") It also has a page on sr.ht, which contains links to the mailing list. https://sr.ht/~ireas/merge-rs/ > + (synopsis "Rust trait for objects that can be merged") > + (description "This package provides a merge trait that can be used > +to merge two objects of the same type into one.") > + (license (list license:asl2.0 license:expat)))) > + > +(define-public rust-merge-derive-0.1 > + (package > + (name "rust-merge-derive") > + (version "0.1.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "merge_derive" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 "01wxhi7mqmp34l540wcfb24hb13vcbps4wlynas66bnsfra0g790"))= )) > + (build-system cargo-build-system) > + (home-page > + "https://git.sr.ht/~ireas/merge-rs/tree/master/merge_derive") Same as above. > + (synopsis "Derive macro for the merge crate") > + (description "This crate provides a derive macro for the > +merge::Merge crate. See the merge crate for more information.") The last sentence doesn=E2=80=99t seem very helpful, it should be dropped. Also, =E2=80=98merge::Merge=E2=80=99 should probably be formatted as @code{merge::Merge}. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmC1TFEVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5NgcP/0kX05ZoFAp3+kqA+iBdvD2E3KOI 6RQh0mCP6NiZfuM56BJURSvG1pWOZZN/1BnrJP0/tyHW+1QtYp2IA74H6jvHGwb9 eMe5zYdaIvaEFbsOZHJoomBBK+NqydKaeZOZwd0o0JLy3XUud2VytBooQcsWNkTT x8Cb3v4o09N/+mnvGVOOI6U6qY12ATu+96qqmDZZz2u6DMBbaYJnoBq6cMC48Xig VHYXmSXOC8FgxrL7fDAusCZIDxxajSq3R+LzuJ0E0HeqBuoQZkQr5kpYkgFVCQN2 b1FJVAPs8UEwbApkcoqv4FUhV/4+Oma2YwdF4InYDAVJyb4WUTrM7tNpqsr1jsWt kksHH4gw4ulotZ2kswYiySUEjRIr8oUWtwvZoxitOW2F8BK0J08XPxUqkvOfP7/S I3Chbt8cCXhLONE7Jma1e2fXRVfUmt/NQcy+OF3a8M/A8Mrf4U88QJAelR06vN/1 jwXxiEYQalnkuRRctsy6jDb9N87OmbVhAaU0gsXL3AFlMLcpvGbqPgd4S75Vx9y/ ViasQArF4bbMEMQM6jXghRJGlxWXGzaPCGErk+nng+i222DWPKEh2jDY3HjbM5kU h8IGYGUmkXfq8uDut04mqhqDeI+tgMkhpH/0GOQMvHOtY1qLI1ZSGTXknsyCl7Qw qBK67IIIZo8ghwbe =DGHJ -----END PGP SIGNATURE----- --=-=-=--