From patchwork Thu Mar 14 21:16:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 61811 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 EA6A527BBE9; Thu, 14 Mar 2024 21:18:22 +0000 (GMT) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 0CC1C27BBEB for ; Thu, 14 Mar 2024 21:18:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rksSH-0005ig-W1; Thu, 14 Mar 2024 17:17:38 -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 1rksSF-0005ha-MW for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:35 -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 1rksSF-0004Nq-AZ for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rksSp-00056Q-56 for guix-patches@gnu.org; Thu, 14 Mar 2024 17:18:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69803] [PATCH rust-team 01/37] gnu: Add rust-rename-item-0.1. References: <20240314205319.5948-1-herman@rimm.ee> In-Reply-To: <20240314205319.5948-1-herman@rimm.ee> Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 21:18:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69803@debbugs.gnu.org Cc: Herman Rimm Received: via spool by 69803-submit@debbugs.gnu.org id=B69803.171045108719532 (code B ref 69803); Thu, 14 Mar 2024 21:18:11 +0000 Received: (at 69803) by debbugs.gnu.org; 14 Mar 2024 21:18:07 +0000 Received: from localhost ([127.0.0.1]:50801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSj-00054T-Fo for submit@debbugs.gnu.org; Thu, 14 Mar 2024 17:18:06 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38137 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSQ-00051J-DK for 69803@debbugs.gnu.org; Thu, 14 Mar 2024 17:17:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1710451022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hZLHb+DLla2jgOmAY7EK8TTfpjP6imnw9aCLGXEeVEY=; b=YgeplKUJL8cCt94CzS+w+edYguF9TCPz4l3D/847BPuVtRqTomsrR6XSV2xm440rvihYQM cSYY+uEpSjIOhCIHjUvjHubnviVaaKrYymXGm8yDfjlc3xuXJFNqi8sMUmsIHgFyhcKma2 97/Y8gGAmjhBl7VdtDpOWOCXljOJfCwL51AbeggmkHIO0QdIw14uj4bCNP/VF36aPNVzph WZS/L+CVSjadrLOwD59R6UExNQ8xFZ4UfxE0kHCW74u3RrlWFdwpyxAVYl6FYRsgI6aUAc 80ojPLrJFsl/RB4qdip8QJ6OZs/9gBXgNnqZd+hm+IrUv+GAVPPspTLNzEG3qw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 131ddd4c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 14 Mar 2024 21:17:02 +0000 (UTC) Date: Thu, 14 Mar 2024 22:16:02 +0100 Message-ID: <20240314211638.6190-1-herman@rimm.ee> X-Mailer: git-send-email 2.41.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-rename-item-0.1): Add variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e99f0f991b..7797660988 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54876,6 +54876,32 @@ (define-public rust-relative-path-1 (description "This package provides portable, relative paths for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-rename-item-0.1 + (package + (name "rust-rename-item") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rename-item" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18b6jrhfp2x9jpbvi5g4q66nwksr41pgnripi7lbnag554bja2zq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/levitatinglion/rename-item/") + (synopsis + "Rename items on declaration in different case styles") + (description + "This package provides a procedural macro to rename items on declaration, + according to different case styles.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rend-0.3 (package (name "rust-rend")