unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68115@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68115] [PATCH 02/18] gnu: Add rust-syntect-5.
Date: Fri, 29 Dec 2023 19:40:13 -0500	[thread overview]
Message-ID: <06c25f4e41bb62bce19db8f5ae8c36540cbdcb6c.1703894625.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703894624.git.jaeme@runbox.com>

* gnu/packages/crates-io.scm (rust-syntect-5): New variable.

Change-Id: If5bd6a517cfc429ef13dfa30483075ac9ad9800e
---
 gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++------
 1 file changed, 44 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1dc7cbb65..a267ee3c70 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71172,8 +71172,51 @@ (define-public rust-synstructure-test-traits-0.1
      "This package provides helper test traits for synstructure doctests.")
     (license license:expat)))
 
+(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
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-bincode" ,rust-bincode-1)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-fancy-regex" ,rust-fancy-regex-0.11)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-fnv" ,rust-fnv-1)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-onig" ,rust-onig-6)
+        ("rust-plist" ,rust-plist-1)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.7)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-walkdir" ,rust-walkdir-2)
+        ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-getopts" ,rust-getopts-0.2)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/trishume/syntect")
+    (synopsis "Library for syntax highlighting and code intelligence")
+    (description
+     "This package provides a library for syntax highlighting and code
+intelligence using Sublime Text's grammars.")
+    (license license:expat)))
+
 (define-public rust-syntect-4
   (package
+    (inherit rust-syntect-5)
     (name "rust-syntect")
     (version "4.6.0")
     (source
@@ -71184,7 +71227,6 @@ (define-public rust-syntect-4
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0cd0rbi5r83p9pqph0gyj3vgr18ihh54amv9dvh0pvl0prdq284b"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                      ;missing files
        #:cargo-inputs
@@ -71208,13 +71250,7 @@ (define-public rust-syntect-4
         ("rust-getopts" ,rust-getopts-0.2)
         ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
         ("rust-rayon" ,rust-rayon-1)
-        ("rust-regex" ,rust-regex-1))))
-    (home-page "https://github.com/trishume/syntect")
-    (synopsis "Library for syntax highlighting and code intelligence")
-    (description
-     "This package provides a library for syntax highlighting and code
-intelligence using Sublime Text's grammars.")
-    (license license:expat)))
+        ("rust-regex" ,rust-regex-1))))))
 
 (define-public rust-syntex-errors-0.58
   (package
-- 
2.41.0





  parent reply	other threads:[~2023-12-30  0:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-30  0:05 [bug#68115] [PATCH 00/18 rust-team] rust-apps: bat: Update to 0.24 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 01/18] gnu: Add rust-fancy-regex-0.11 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-30  0:40 ` [bug#68115] [PATCH 03/18] gnu: Add rust-fsio-0.4 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 04/18] gnu: Add rust-run-script-0.10 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 05/18] gnu: Add rust-print-bytes-0.7 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 06/18] gnu: Add rust-os-str-bytes-6.4 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 07/18] gnu: Add rust-nu-ansi-term-0.49 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 08/18] gnu: Add rust-etcetera-0.8 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 09/18] gnu: Add rust-clircle-0.4 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 10/18] gnu: rust-clircle-0.3: Allow building Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 11/18] gnu: Add rust-bugreport-0.5 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 12/18] gnu: rust-bugreport-0.4: Update to 0.4.1 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 13/18] gnu: rust-empfindung-0.2: Update to 0.2.6 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 14/18] gnu: Add rust-crc64-2 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 15/18] gnu: rust-crc64-1: Allow building Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 16/18] gnu: Add rust-termcolor-1.2 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 17/18] gnu: rust-ansi-colours-1: Update to 1.2.2 Jaeme Sifat via Guix-patches via
2023-12-30  0:40 ` [bug#68115] [PATCH 18/18] gnu: bat: Update to 0.24.0 Jaeme Sifat via Guix-patches via
2023-12-30 21:36 ` Jaeme Sifat via Guix-patches via
2023-12-30 23:40 ` [bug#68115] [PATCH v2REVISION " Jaeme Sifat via Guix-patches via
2024-01-02  9:39 ` bug#68115: [PATCH 00/18 rust-team] rust-apps: bat: Update to 0.24 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=06c25f4e41bb62bce19db8f5ae8c36540cbdcb6c.1703894625.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=68115@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).