* [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1.
2024-01-08 16:54 [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Troy Figiel
@ 2024-01-08 13:46 ` Troy Figiel
2024-01-08 16:52 ` [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9 Troy Figiel
2024-01-19 9:38 ` bug#68328: [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Efraim Flashner
2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-08 13:46 UTC (permalink / raw)
To: 68328
* gnu/packages/crates-io.scm (rust-yansi-term-0.1): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bfd8fb143..9d52921a1c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90813,6 +90813,34 @@ (define-public rust-yansi-0.5
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-yansi-term-0.1
+ (package
+ (name "rust-yansi-term")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "yansi-term" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w8vjlvxba6yvidqdvxddx3crl6z66h39qxj8xi6aqayw2nk0p7y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/zzau13/yansi-term")
+ (synopsis "Library for ANSI terminal colours and styles")
+ (description
+ "This library enables controlling colours and formatting, such as red
+bold text or blue underlined text, on @acronym{ANSI, American National
+Standards Institute} terminals.")
+ (license license:expat)))
+
(define-public rust-yasna-0.5
(package
(name "rust-yasna")
--
2.42.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9.
2024-01-08 16:54 [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Troy Figiel
2024-01-08 13:46 ` [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1 Troy Figiel
@ 2024-01-08 16:52 ` Troy Figiel
2024-01-19 9:38 ` bug#68328: [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Efraim Flashner
2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-08 16:52 UTC (permalink / raw)
To: 68328
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1
@ 2024-01-08 16:54 Troy Figiel
2024-01-08 13:46 ` [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1 Troy Figiel
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-08 16:54 UTC (permalink / raw)
To: 68328
This patch series adds rust-annotate-snippets-0.9 and its dependency
rust-yansi-term-0.1.
Troy Figiel (2):
gnu: Add rust-yansi-term-0.1.
gnu: Add rust-annotate-snippets-0.9.
gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
base-commit: 5f8a993aa85554ca09bd27139230d7664107e1b6
--
2.42.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#68328: [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1
2024-01-08 16:54 [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Troy Figiel
2024-01-08 13:46 ` [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1 Troy Figiel
2024-01-08 16:52 ` [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9 Troy Figiel
@ 2024-01-19 9:38 ` Efraim Flashner
2 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2024-01-19 9:38 UTC (permalink / raw)
To: Troy Figiel; +Cc: 68328-done
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
Sorry, it seems these got added to the rust team branch already
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-19 9:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 16:54 [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Troy Figiel
2024-01-08 13:46 ` [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1 Troy Figiel
2024-01-08 16:52 ` [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9 Troy Figiel
2024-01-19 9:38 ` bug#68328: [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Efraim Flashner
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).