[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/16: gnu: Add rust-syntect-4.
From: |
guix-commits |
Subject: |
14/16: gnu: Add rust-syntect-4. |
Date: |
Sat, 5 Dec 2020 11:46:22 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 975b1586a40aef5d2cc32fd77a50976c27635a96
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Dec 5 16:20:20 2020 +0100
gnu: Add rust-syntect-4.
* gnu/packages/crates-io.scm (rust-syntect-4): New variable.
(rust-syntect-3.3): Inherit from above.
---
gnu/packages/crates-io.scm | 66 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 50 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 319d0b9..b20845f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28631,20 +28631,60 @@ a syntax tree of Rust source code.")
"This package provides helper test traits for synstructure doctests.")
(license license:expat)))
+(define-public rust-syntect-4
+ (package
+ (name "rust-syntect")
+ (version "4.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "syntect" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "121y6rswylvbhaz8krjb9aa7h16f6ly2sdbbka1hr1dm0pgphfaf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-fancy-regex" ,rust-fancy-regex-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-onig" ,rust-onig-6)
+ ("rust-plist" ,rust-plist-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-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))))
+ (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-3.3
(package
+ (inherit rust-syntect-4)
(name "rust-syntect")
(version "3.3.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "syntect" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1f6qn1yy15b0hq9h6q1rikqnm3lh56ic6bq3ywsmdsjy8ni9splm"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "syntect" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f6qn1yy15b0hq9h6q1rikqnm3lh56ic6bq3ywsmdsjy8ni9splm"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -28661,13 +28701,7 @@ a syntax tree of Rust source code.")
("rust-bincode" ,rust-bincode-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-walkdir" ,rust-walkdir-2)
- ("rust-onig" ,rust-onig-5.0))))
- (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-onig" ,rust-onig-5.0))))))
(define-public rust-syntex-0.58
(package
- branch master updated (a81258c -> 6f0b8ea), guix-commits, 2020/12/05
- 09/16: gnu: Add rust-content-inspector-0.2., guix-commits, 2020/12/05
- 11/16: gnu: Add rust-dirs-3., guix-commits, 2020/12/05
- 10/16: gnu: Add rust-console-0.13., guix-commits, 2020/12/05
- 12/16: gnu: Add rust-onig-sys-69.6., guix-commits, 2020/12/05
- 05/16: gnu: Add rust-shell-words-1., guix-commits, 2020/12/05
- 08/16: gnu: Add rust-path-abs-0.5., guix-commits, 2020/12/05
- 01/16: gnu: rust-predicates-1: Update to 1.0.5., guix-commits, 2020/12/05
- 14/16: gnu: Add rust-syntect-4.,
guix-commits <=
- 04/16: gnu: Add rust-fancy-regex-0.3., guix-commits, 2020/12/05
- 02/16: gnu: Add rust-plist-1., guix-commits, 2020/12/05
- 13/16: gnu: Add rust-onig-6., guix-commits, 2020/12/05
- 06/16: gnu: Add rust-semver-parser-0.10., guix-commits, 2020/12/05
- 07/16: gnu: Add rust-semver-0.11., guix-commits, 2020/12/05
- 15/16: gnu: Add rust-libgit2-sys-0.12., guix-commits, 2020/12/05
- 03/16: gnu: Add rust-wild-2., guix-commits, 2020/12/05
- 16/16: gnu: Add rust-git2-0.13., guix-commits, 2020/12/05