From patchwork Sat Oct 7 00:01:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandr Vityazev X-Patchwork-Id: 54561 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 2CAAC27BBE2; Sat, 7 Oct 2023 01:04:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5643B27BBE9 for ; Sat, 7 Oct 2023 01:04:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoumW-0001JT-24; Fri, 06 Oct 2023 20:02:56 -0400 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 1qoumL-0001BO-Tf for guix-patches@gnu.org; Fri, 06 Oct 2023 20:02:45 -0400 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 1qoumL-0005mZ-LK for guix-patches@gnu.org; Fri, 06 Oct 2023 20:02:45 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoume-0007me-JP for guix-patches@gnu.org; Fri, 06 Oct 2023 20:03:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66378] [PATCH] gnu: Add rust-darling-macro-0.20. References: <878r8ftiaq.fsf@gmail.com> In-Reply-To: <878r8ftiaq.fsf@gmail.com> Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Oct 2023 00:03:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66378@debbugs.gnu.org Received: via spool by 66378-submit@debbugs.gnu.org id=B66378.169663694329696 (code B ref 66378); Sat, 07 Oct 2023 00:03:04 +0000 Received: (at 66378) by debbugs.gnu.org; 7 Oct 2023 00:02:23 +0000 Received: from localhost ([127.0.0.1]:52936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoulz-0007iu-BU for submit@debbugs.gnu.org; Fri, 06 Oct 2023 20:02:23 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:53274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qouly-0007i9-0E for 66378@debbugs.gnu.org; Fri, 06 Oct 2023 20:02:22 -0400 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so32272971fa.2 for <66378@debbugs.gnu.org>; Fri, 06 Oct 2023 17:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696636915; x=1697241715; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=qpc072ioLa/vrYv80gL53IaH4kqVd3e9LIfm/kHq0i8=; b=k5F4TeLO6wqARXY+a9i+LhJSzebGEtBFlq8IP+XyeFgSF+YPXm1Z4Gr7LvC5eEwUrb pAwmFEsiQcqnWd3eUxDeoHO9Th9EkJj//Y3OgnPvm3LamOJeJgc0pas4dOHjUzFQQ7uu Lg6ea+bR9AUQ0H4sKDCARw/vt+AVXAXJBLcVAgHtzr2yB0kenEc14Gd3tkBpElkwXu4w 7rnVetuf8gl6r2jBTp9uNE/pAYT0X50E5JAT4BKrpFV59qdss0DLpq4ooHKB6qXtT2MS 7I8Gjimubdz3VwfH9ucVPYC8Utz0MIAKboaCqapDNFtQhuVYiDoJJxD+IvDeBZ8/R+z+ Zfsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696636915; x=1697241715; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qpc072ioLa/vrYv80gL53IaH4kqVd3e9LIfm/kHq0i8=; b=NfAOwvdPA9sv3JKmzLEnkJUNdKzbZgtIfJugMEbpKfSdosPFM8Q4K5iYwRJ+NqS/cf 9IupeQ8FpaR/JbfHU8B0k0+fxZUzBGKmQMQQg/pQOmNhsNjfP+SJ+34bUHiJ2xNpZ9dY SvjyOOQmg+JxbtioFUcmw4OWgvLHYUCoPmw+/LW1Arqe3NqLuisPAsMPPr7ith9E5WOd EO9opp07SKa/Geqv0mizmx4M9dd0ZzZyYMMry/2a0IU1B5xkgWyJGjKSKIip7v8TRIBH etHIWd42gm9cEkjv9MP9O96NULBOUVH4wMEY6Z2v4KNAA3hfcyxNPVEbid8hLh/umjpB pGdw== X-Gm-Message-State: AOJu0YxeePAbCnnOXq4+des/AQLIo6FYUyz4wMLuW0d8Z3GqadjLJoPz 76S/G3a3MGKCyyA2strDE5araIMIGiw= X-Google-Smtp-Source: AGHT+IHQmpVgj8MtwpVC83nwlPAUxy6hiB6wsd0hAWAW03X7MT/K++Y7purJwBWIMdni/LXDkDY3ew== X-Received: by 2002:ac2:5e21:0:b0:500:aa41:9d67 with SMTP id o1-20020ac25e21000000b00500aa419d67mr6949010lfg.8.1696636915400; Fri, 06 Oct 2023 17:01:55 -0700 (PDT) Received: from magi ([176.59.18.42]) by smtp.gmail.com with ESMTPSA id a6-20020a056512020600b0050420b0a642sm484384lfo.91.2023.10.06.17.01.54 for <66378@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Oct 2023 17:01:55 -0700 (PDT) From: Aleksandr Vityazev Date: Sat, 07 Oct 2023 03:01:54 +0300 Message-ID: <8734ynpafh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-darling-macro-0.20): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) base-commit: a7e6b4c98b97921ab695218f9b89be4f1ded48c9 prerequisite-patch-id: ec4a09723b91089c8eb5b5269ae81272bb4d81b4 prerequisite-patch-id: 9680399593e3dcdb5b10ee646023efd1215942d9 prerequisite-patch-id: 66497a0079d0077e7b5001707d8211c525ea7193 prerequisite-patch-id: 4f512542ae5806d47054e063e3dd1df66258c530 prerequisite-patch-id: 48abb1e84ca8d85b23794222f8fa5b4d2dfa4699 prerequisite-patch-id: a7fdd2f87131ad73865389152d4a826df24fcae7 prerequisite-patch-id: 1600413a45a50114906f4390653c3fbb7f536a4c prerequisite-patch-id: 51e95882782a53eda933e884fb5e80487ba52b9f prerequisite-patch-id: 177b2873f4e77585c464ac3d24bec78d58f128bd prerequisite-patch-id: 631a6785018f999fcbf7e22fb8e2aae9329ced55 prerequisite-patch-id: 1bd1b328f9e3c7119fed731ffd7e7d87ac33f0c2 prerequisite-patch-id: 79105270952c22f07255cb315da1db44f505b07b prerequisite-patch-id: 9c5af3baa3dac6233837fb6eb0b7467b969caff4 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4d05cec9d5..9a4426ff77 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18224,6 +18224,33 @@ (define-public rust-darling-core-0.9 ("rust-strsim" ,rust-strsim-0.7) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-darling-macro-0.20 + (package + (name "rust-darling-macro") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mg2k1f0v33s271lpn4m5mxcfjqnmg61bf77svb44cyngay9nsl3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.20) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/TedDriggs/darling") + (synopsis "Helper crate for @code{rust-darling}") + (description + "This package provides internal support for @code{rust-darling}, +a proc-macro library for reading attributes into structs when implementing +custom derives.") + (license license:expat))) + (define-public rust-darling-macro-0.14 (package (name "rust-darling-macro")