From patchwork Tue Dec 12 21:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Teissier?= X-Patchwork-Id: 57558 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 A076627BBE9; Tue, 12 Dec 2023 21:19:53 +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 D537127BBE2 for ; Tue, 12 Dec 2023 21:19:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDA9X-0002ok-Io; Tue, 12 Dec 2023 16:18:55 -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 1rDA9U-0002nL-Nf for guix-patches@gnu.org; Tue, 12 Dec 2023 16:18:52 -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 1rDA9U-0001ar-FS for guix-patches@gnu.org; Tue, 12 Dec 2023 16:18:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDA9k-00015a-0M; Tue, 12 Dec 2023 16:19:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67592] [PATCH 14/20] gnu: Add rust-syntect. Resent-From: =?utf-8?b?UsOpbWk=?= Teissier Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 12 Dec 2023 21:19:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67592 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67592@debbugs.gnu.org Cc: =?utf-8?b?UsOpbWk=?= Teissier , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67592-submit@debbugs.gnu.org id=B67592.17024159103982 (code B ref 67592); Tue, 12 Dec 2023 21:19:07 +0000 Received: (at 67592) by debbugs.gnu.org; 12 Dec 2023 21:18:30 +0000 Received: from localhost ([127.0.0.1]:57754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDA97-000127-SB for submit@debbugs.gnu.org; Tue, 12 Dec 2023 16:18:30 -0500 Received: from vps-1eeb809a.vps.ovh.net ([217.182.171.220]:36940 helo=mail.chillpc.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDA8g-0000xg-V7 for 67592@debbugs.gnu.org; Tue, 12 Dec 2023 16:18:05 -0500 Received: from localhost.localdomain (91-164-64-51.subs.proxad.net [91.164.64.51]) by mail.chillpc.fr (Postfix) with ESMTPSA id 02507229DB; Tue, 12 Dec 2023 21:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=chillpc.fr; s=mail; t=1702415867; bh=EAfUUKGK7+x473ziBrWl95TcOsuoBdDb1Tuh4d+ZhkU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NCaJ7rOG19RfpTl1pcNr4kU2oIPuYzFgLczJpAVm+kelEOrW+cvg4yCApXXM4H01c 3oSuhLGYCgQo5u2H8sdUyLu+ywqXWKiiaNCwHbo0l/8t+e0An7AqFHnNxAn69tkubb MCu8q/8fRXa0HJvKyBRU+wqvGhob1Kf1YtybfZ20QGPNZYIuViGmU/EQFOzPb7s0Hc G5X/b+/KSq76bUfQTFrtCUe0ygKA4qJAym3UIN7A+rfRhDsZjJGNE3miqmhQvuvMdZ YViQ25XvNhvbvfa4W0MeOnsiZcqakK+d4NXAinO/LIxM4PPpdW9uTWauzvoF/UoFvW Rp6y05Xm5/Thg== From: =?utf-8?b?UsOpbWk=?= Teissier Date: Tue, 12 Dec 2023 22:16:52 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 Change-Id: I5c6ef2044f6a39e88d9ecc6f64d35117d5791aae --- gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a2a98d592d1..062dfc01f6e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71179,6 +71179,48 @@ (define-public rust-syn-test-suite-0.0.0 (description "Test suite of the syn crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-syntect-5 + (package + (name "rust-syntect") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "syntect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cg314vzabi45cdbqgcpav0dlx3d18blp24n3z8pl7q7cq4naz0")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-yaml-rust" ,rust-yaml-rust-0.4) + ("rust-regex-syntax" ,rust-regex-syntax-0.7) + ("rust-plist" ,rust-plist-1) + ("rust-onig" ,rust-onig-6) + ("rust-fnv" ,rust-fnv-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-fancy-regex" ,rust-fancy-regex-0.11) + ("rust-bincode" ,rust-bincode-1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde" ,rust-serde-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-bitflags" ,rust-bitflags-1)) + #:cargo-development-inputs (("rust-regex" ,rust-regex-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/trishume/syntect") + (synopsis + "Library for high quality syntax highlighting and code intelligence using Sublime Text's grammars") + (description + "syntect is a syntax highlighting library for Rust that uses Sublime Text syntax +definitions. It aims to be a good solution for any Rust project that needs syntax highligting, +including deep integration with text editors written in Rust.") + (license license:expat))) + (define-public rust-synchronoise-1 (package (name "rust-synchronoise")