From patchwork Sun Aug 4 16:39:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhail Singh X-Patchwork-Id: 66675 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 EF83A27BBEA; Sun, 4 Aug 2024 17:41:49 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 257D127BBE9 for ; Sun, 4 Aug 2024 17:41:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saeIh-0006MT-PV; Sun, 04 Aug 2024 12:41:43 -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 1saeIf-0006M6-5P for guix-patches@gnu.org; Sun, 04 Aug 2024 12:41:41 -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 1saeIe-0007tH-Ro for guix-patches@gnu.org; Sun, 04 Aug 2024 12:41:40 -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:Date:References:In-Reply-To:From:To:Subject; bh=WbrQJyRh7jci7XUkrZCXYCcPrpQ8CGjiY+sC/IQrsbc=; b=Qu1F/38wqp3kxkkJ8x2Ek/mEGUeomHeU77Knsdr4g3bnwO+E0ZGOno7q2pVpwVQUyyOvDmucnM5lMynkiKtU0sdm18hQvf2RwpZ26s/NCA5CAYcqHVxn/IP5CBLb8AV1jyXn2L7K7C35ipTfVogqOvSrb/LIhPzTaDWvJUcL+2/38mtOJpTjXrkUGvzkzLospzLeyt31sXbH+rUnpf4LI2VWqN+EQfSGGcV5dWjpm1I0/jO7DTuZHwWCO9nkP8Yu/EPGKDEbcC8i5G0UuujHg49sQW00RviwiMzp6IUzdyuJ6pQQuSQxSKiuo61C9WpI6YqQIqDI35b+RpHYI7oVXQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saeIz-0007y9-W3; Sun, 04 Aug 2024 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1. Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72467@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72467-submit@debbugs.gnu.org id=B72467.172278966630448 (code B ref 72467); Sun, 04 Aug 2024 16:42:01 +0000 Received: (at 72467) by debbugs.gnu.org; 4 Aug 2024 16:41:06 +0000 Received: from localhost ([127.0.0.1]:57069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeI5-0007v2-NQ for submit@debbugs.gnu.org; Sun, 04 Aug 2024 12:41:06 -0400 Received: from mail-oa1-f66.google.com ([209.85.160.66]:38944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeI4-0007u7-Dg for 72467@debbugs.gnu.org; Sun, 04 Aug 2024 12:41:05 -0400 Received: by mail-oa1-f66.google.com with SMTP id 586e51a60fabf-2644f7d0fb2so1444580fac.0 for <72467@debbugs.gnu.org>; Sun, 04 Aug 2024 09:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722789576; x=1723394376; darn=debbugs.gnu.org; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=WbrQJyRh7jci7XUkrZCXYCcPrpQ8CGjiY+sC/IQrsbc=; b=j9kkWwdfS5kpSgwvj1+ElZvkLjEp+joXNJgowhFH8LMwKhZIfh83MMMXvIpS0ynO5L 0MS0ATBrVNbL293WRmje2faswSvpZKEMTHMUHu1ViJkX9eJ1wbJgjSiyCxDmhYOBkTCF gnULAjNDauaYew27lNKhJ1+8eXo+sd3y+GQdBcY3JIRf0Af5ROIawDLVpMi2ooGygLr9 WbKW6K6EKzOzpMJZxp2qRoPY/tVLM5Qc1Vf6loqFJrOEOSyARnlq8qsUVL2HArDPvofc WoCe67kIpKEEOsmTDvR3xzzeSer1ZlbWSYC8iogwJ3m22ZRyMoqtRlXbs0q1VhSSwLst y/xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722789576; x=1723394376; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WbrQJyRh7jci7XUkrZCXYCcPrpQ8CGjiY+sC/IQrsbc=; b=jUUlngy1whhLrOiB0ho6hhNZpbTFrUUPCWsx3DutnrrqBv9oMKK/QH7AXeok4Z6ODo N13B2mXNTMFbnkoKI0xnDu6UtEgG0WFeU89aAedGifxcxt6UkJtgEV+XyUlJMktHMvC0 1Y80yMTUSUzD1ViHc37B984o50NBEFqzV+wcIJVUyUY7tkpjhbvi9A20yp+0HeCcwo5p AC90TNiH0Pi/Vbjz/GHZm8MRogd3IlKd+ersLqNPNFBPX0sqFMBj7hFkJVhKAQy2NJ5H HgjlO1hjkebUFOqlpDPnrjJc3P3PkGnV+6M8yOjSnAuoApWqtuJBv4u0MqOzMhljKle9 8pZw== X-Gm-Message-State: AOJu0Yw+EjvfPvDNCeHGdeJTpvrX5R9mpbPJ9Dnv2lrDxR1aVL5f3s7x Dko/OIvJoJJPqo9beFDWbb80wkBI7tV4AAlw1hwh4Xc4imnJW4U3cLTSapoA X-Google-Smtp-Source: AGHT+IFJvMs+ZK1j9fpPowmIhwu1v1j/hwyle2T2VfUORYPQRJx4Apiczry+JHbQpyxzp9OaqIdnLw== X-Received: by 2002:a05:6830:2a16:b0:703:5c54:ddac with SMTP id 46e09a7af769-709b320476amr5795582a34.2.1722789576479; Sun, 04 Aug 2024 09:39:36 -0700 (PDT) Received: from gnus ([65.93.169.47]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a34f6e9172sm274042185a.43.2024.08.04.09.39.35 for <72467@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:39:36 -0700 (PDT) From: "Suhail Singh" In-Reply-To: Message-ID: <722edef3d9dd60449135054eeae42435136ff69b.1722777393.git.suhail@bayesians.ca> References: Date: Sun, 04 Aug 2024 12:39:25 -0400 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-chic-1): New variable. (rust-annotate-snippets-0.6): New variable. Change-Id: Ibf939b8a15a9135a66bf41e3a39ed1c25c32dbaf --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 22c6136852..757bdfe3f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1727,6 +1727,27 @@ (define-public rust-annotate-snippets-0.9 ("rust-toml" ,rust-toml-0.5) ("rust-yansi-term" ,rust-yansi-term-0.1)))))) +(define-public rust-annotate-snippets-0.6 + (package + (name "rust-annotate-snippets") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19x7ldklprdgf8pam8b3lfhrxqw5yldcvk5j0bw2agsajbj1q0n7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11)))) + (home-page "https://github.com/rust-lang/annotate-snippets-rs") + (synopsis "Library for building code annotations") + (description + "This package provides Library for building code annotations.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ansi-parser-0.8 (package (name "rust-ansi-parser") @@ -12259,6 +12280,25 @@ (define-public rust-chrono-0.4 (description "Date and time library for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-chic-1 + (package + (name "rust-chic") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "chic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "037pkdccj25gr4my8fq1qni9v87rydpyhfi2naf86mimkxhxpdd5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.6)))) + (home-page "https://github.com/yoshuawuyts/chic") + (synopsis "Pretty parser error reporting") + (description "This package provides Pretty parser error reporting.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-humanize-0.2 (package (name "rust-chrono-humanize")