From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wFgOJBkrnGVemQAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 18:04:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UGQ7HxkrnGURKAEAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 18:04:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b="n/xDzDCf"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704733465; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=KB9DU8Rs77TbD4m5hSyq/L9zJepbdJ8bCaKNQL3T0lY=; b=IRF7BcXiacGetslNkFEqFmTrswspdSz98pXDKIQ3ZHwHB9U6sopIuM0hXCnsTcGH525460 ++R65X74KbI6d2Tf2Mu52Sd/mLYK1qFrZpMHtsjkvNDMx0UEmIkyXhp65RkodzLud/r5LU 9l9ZL399rD6L498imuDYz8UEAsYvw2svtr/KJ9zvigtSr+1ao3ELDf2CVWmZUN7nbh9grQ lIZ8UoJkjIMVnkMpqaRjuP9BB/Xq2heZtmyCe0ZF8HCxm5GswxhUH6vK6YeyHT1bCdheCl 5OEtDIY5S8lkxHYQcrpF2mlnHzhqXUfaMQAH+eKd4SxeyIKo3lRWCnx6aaulNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704733465; a=rsa-sha256; cv=none; b=CvSQ6qdg1zF5O3jE1c38ubA2lBl7sbyOC6QSZBOZNfEZDNYTab7CpewcCWxVufz9x1CEOB 6SbXk2UzqmkGuGn07qN9v9aYcDoEs7z3mPlZ+Dz5aQ5XSMIa6FJgpVGDWEJK+7qq4Z8PvP ZKQqh/JtYOT9B+qVljGNrdS0hMK614y8RJ1atbzIxt/0xYtM2jDeip28nxILUlcoUWZqQf nBw1gszfBIgEGelDRIsXrRc42wLgdotvByUU/cadBmoCNxmR8J44MFQa+Z7dkdP4I+QTD4 x6raQTBaVeaPRn2Gnv18gIdQmHUrDVdAArLRFrUtrrQs2qvttJ6wOc/QHUyFPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b="n/xDzDCf"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) 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 5E67E6DA90 for ; Mon, 8 Jan 2024 18:04:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMt2d-0004i9-2Z; Mon, 08 Jan 2024 12:03:59 -0500 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 1rMt2b-0004hU-Bj for guix-patches@gnu.org; Mon, 08 Jan 2024 12:03:57 -0500 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 1rMt2a-0002fc-7C for guix-patches@gnu.org; Mon, 08 Jan 2024 12:03:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMt2g-00072n-Et for guix-patches@gnu.org; Mon, 08 Jan 2024 12:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9. References: <87bk9viwz9.fsf@troyfigiel.com> In-Reply-To: <87bk9viwz9.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68328@debbugs.gnu.org Received: via spool by 68328-submit@debbugs.gnu.org id=B68328.170473342327045 (code B ref 68328); Mon, 08 Jan 2024 17:04:02 +0000 Received: (at 68328) by debbugs.gnu.org; 8 Jan 2024 17:03:43 +0000 Received: from localhost ([127.0.0.1]:37413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMt2M-000728-VB for submit@debbugs.gnu.org; Mon, 08 Jan 2024 12:03:43 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:49468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMt2K-00071u-PX for 68328@debbugs.gnu.org; Mon, 08 Jan 2024 12:03:42 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4T80kk1Y4tz9sRt for <68328@debbugs.gnu.org>; Mon, 8 Jan 2024 18:03:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1704733406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=KB9DU8Rs77TbD4m5hSyq/L9zJepbdJ8bCaKNQL3T0lY=; b=n/xDzDCfWk5LNXWv9MBx11PyY5Fn8OBUplwYSPbljb0tj8HE2Eyr6JW88yPSzWipoZS4cp DH6RadgPFB/FmVSyMaulm/5GLicuBN83MNtt47a76MxNbD1G1hyD323MBXVxYMUyDcFhq9 WRkRzrEfYLfF36/yFzieKqNo1HdCE8RDtRfkC7eXCHEUyjbk+ZI3Ahcfiy12fMbO07ogD8 /WPEyUlRQSSx/BMggO3OwuFPiBJGEr0wNIsgI+sJt1MHqBqJk9r1dbRH/zLLteWrUnkwFK w2HdX77g+agsal3b5L7s2QLXEsreeMoHMXucg/tqF0hwhj3ufqXbpBsXPa7C9Q== From: Troy Figiel Date: Mon, 8 Jan 2024 17:52:56 +0100 Message-ID: <878r4ziwpu.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.29 X-Spam-Score: -5.29 X-Migadu-Queue-Id: 5E67E6DA90 X-Migadu-Scanner: mx11.migadu.com X-TUID: 3VkHeTjnQ7I+ * gnu/packages/crates-io.scm (rust-annotate-snippets-0.9): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9d52921a1c..3fba9c3d31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3553,6 +3553,39 @@ (define-public rust-anes-0.1 ;; The user can choose either license. (license (list license:expat license:asl2.0)))) +(define-public rust-annotate-snippets-0.9 + (package + (name "rust-annotate-snippets") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07p8r6jzb7nqydq0kr5pllckqcdxlyld2g275v425axnzffpxbyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-yansi-term" ,rust-yansi-term-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-difference" ,rust-difference-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-yansi-term" ,rust-yansi-term-0.1)))) + (home-page "https://github.com/rust-lang/annotate-snippets-rs") + (synopsis "Annotation of Rust code snippets") + (description + "The library helps visualize meta information annotating source code +slices. It takes a data structure called @code{Snippet} on the input and +produces a @code{String} builing an @acronym{ASCII, American Standard Code for +Information Interchange} representation of the code snippet with +annotations.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ansi-parser-0.8 (package (name "rust-ansi-parser") -- 2.42.0