From patchwork Thu Mar 20 21:25:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 40542 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 24E8E27BBE9; Thu, 20 Mar 2025 21:37:44 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E2A4927BBEA for ; Thu, 20 Mar 2025 21:37:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvNZh-0006F3-Qk; Thu, 20 Mar 2025 17:37:13 -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 1tvNZf-0006CZ-1Y for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:11 -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 1tvNZe-0007zE-O1 for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=mrR6SqIpoB7AqbLXx39YBj+9cinaP56FfmAoS3U/A7Y=; b=CNMml73bDol5K6IA5GsJdYHZJaJDiTvi12HTMSY/7LTozzIOk9QAVkquLhPQ0/aNQWhAXoZwxLoDZ4WowRqCmy3Q5LzI4BCevFVPS1ZGPv+B0iYyqm68Upk+01PN1yJyBEPCPOQvNfzdIOT6PqCFYp053HoQTlAuoEqYStjL67nX79eV7FAVltWioQGjMbYKO7WU3TFLqPNQI74fS+joJiBoFw/Qun0leeLQbanvUy9iePonUD8xniLqqdzUMGaOhYIqAFfGN7rJ9Q7w7b8wEvvhHZTxE5+jVgVpsQ6I24EFnyJXgXKl7au8ixIq/xloiFp0q0+b8FAeGPyZkrmE2A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvNZe-00065X-E0 for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77040] [PATCH v3 10/12] gnu: Add rust-rust-i18n-3. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 21:37:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77040@debbugs.gnu.org Cc: Gabriel Santos Received: via spool by 77040-submit@debbugs.gnu.org id=B77040.174250660623185 (code B ref 77040); Thu, 20 Mar 2025 21:37:10 +0000 Received: (at 77040) by debbugs.gnu.org; 20 Mar 2025 21:36:46 +0000 Received: from localhost ([127.0.0.1]:59301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvNZG-00061s-9m for submit@debbugs.gnu.org; Thu, 20 Mar 2025 17:36:46 -0400 Received: from layka.disroot.org ([178.21.23.139]:43314) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tvNYv-000602-Lb for 77040@debbugs.gnu.org; Thu, 20 Mar 2025 17:36:26 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BB266260DB; Thu, 20 Mar 2025 22:36:24 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id xaN6cLmkOFef; Thu, 20 Mar 2025 22:36:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1742506583; bh=tp8lGt4hFcQJgkyOLZ+sDNMBFwxOd73+yLQt5UEVGes=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YmC+eZxaP+b+Wy7XGU86UvfnrpWjpgtCS6C/qpogZau4AU6OQRZJtugRgOEffTDf1 km7555XDdEdBC6XvASVqddizfOoHYcwCy5jDfWRVU+BTIgFWlQOU9D0HGhFh9PDFS1 ZPAFZu2pkLx+lr7erWWrJk1B3DVJcheEZBlhKLZSUJZDsT2dN7OvprDZqMK/YS6mr4 rMAfcUbp0lXwPjMnCAadwjIDwdbN/XXqucSXJiBsUrH/X1C6iANOmq5yZ+6QfM82YX JEtLEnrWbNeoPzF7N+Cl+nT3g8RGEv1NCjA8sF1M7hNTifSmZFIa5L8mC/UvtQINMR zwG5LAyyfUHfg== Date: Thu, 20 Mar 2025 18:25:15 -0300 Message-ID: <20250320213508.28485-11-gabrielsantosdesouza@disroot.org> In-Reply-To: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> References: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> 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: Gabriel Santos X-ACL-Warn: , Gabriel Santos via Guix-patches X-Patchwork-Original-From: Gabriel Santos via Guix-patches via From: Gabriel Santos 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-rust-i18n-3): New variable. Change-Id: I4a1f4984679869aa2033c2690c39458593a27b83 --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b0212c3884..cc3665d69c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33261,6 +33261,33 @@ (define-public rust-rust-i18n-macro-3 (description "Macro for the rust-i18n crate.") (license license:expat))) +(define-public rust-rust-i18n-3 + (package + (name "rust-rust-i18n") + (version "3.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-i18n" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16ysdz9ppinmzf6cgy8h4mc3ksxhd0qfm3l6dp47fnsnqvhsdcvi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-globwalk" ,rust-globwalk-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-rust-i18n-macro" ,rust-rust-i18n-macro-3) + ("rust-rust-i18n-support" ,rust-rust-i18n-support-3) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/longbridge/rust-i18n") + (synopsis + "Simple i18n crate for text localization") + (description + "This package provides a simple and easy-to-use API for +localizing text.") + (license license:expat))) + (define-public rust-iai-0.1 (package (name "rust-iai")