aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:57:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:45 +0300
commitdfa50b8624ae1750b9f038b648a68f98a83cacf8 (patch)
tree04d11058adb73287d929d46a26fd4d0c986cff54
parent7ce06daaab403aa7879454c5bce79e64564980e7 (diff)
downloadguix-dfa50b8624ae1750b9f038b648a68f98a83cacf8.tar
guix-dfa50b8624ae1750b9f038b648a68f98a83cacf8.tar.gz
gnu: Add rust-print-positions-0.6.
* gnu/packages/crates-io.scm (rust-print-positions-0.6): New variable. Change-Id: Ic13e8e973aa2c8c58ff5f2571c0e4f4eb70762fe
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36ad9c55e0..7774a6e5c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54794,6 +54794,29 @@ losslessly as possible.")
#:cargo-development-inputs
(("rust-os-str-bytes" ,rust-os-str-bytes-2))))))
+(define-public rust-print-positions-0.6
+ (package
+ (name "rust-print-positions")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "print-positions" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "026jzdf63b37bb9ix3mpczln2pqylsiwkkxhikj05x9y1r3r7x8x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1))))
+ (home-page "https://github.com/bobhy/print-positions")
+ (synopsis "Library providing string segmentation on grapheme clusters")
+ (description
+ "This package provides a library providing string segmentation on grapheme
+clusters and ANSI escape sequences for accurate length arithmetic based on
+visible print positions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-priority-queue-1
(package
(name "rust-priority-queue")