summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:54:04 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:53 +0200
commitd90120254343e5ef83c2a1f1208c826f70e71300 (patch)
tree56c049b181818272585a18d5ff8f53a632647da6 /gnu/packages
parent485e3b3fd68bd9b63b6e2f5dd802e13d591ea254 (diff)
downloadguix-d90120254343e5ef83c2a1f1208c826f70e71300.tar.gz
gnu: Add rust-vt100-0.15.
* gnu/packages/crates-io.scm (rust-vt100-0.15): New variable.

Change-Id: Ic2f9f69e4b71d48eea6427ddd88c7d82caef30f2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0048416e32..1cb72d7a81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83350,6 +83350,35 @@ hardware registers.")
      "This package provides a pure FFI to Jon Blow's VS discovery script.")
     (license license:expat)))
 
+(define-public rust-vt100-0.15
+  (package
+    (name "rust-vt100")
+    (version "0.15.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "vt100" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pklc8y984axmxr0cd363srr2d27wd5rj15xlcmkjznvy0xqdkc4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-itoa" ,rust-itoa-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-vte" ,rust-vte-0.11))
+       #:cargo-development-inputs (("rust-nix" ,rust-nix-0.26)
+                                   ("rust-quickcheck" ,rust-quickcheck-0.9)
+                                   ("rust-rand" ,rust-rand-0.7)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-terminal-size" ,rust-terminal-size-0.2)
+                                   ("rust-vte" ,rust-vte-0.11))))
+    (home-page "https://github.com/doy/vt100-rust")
+    (synopsis "Library for parsing terminal data")
+    (description "Library for parsing terminal data.")
+    (license license:expat)))
+
 (define-public rust-vte-0.13
   (package
     (name "rust-vte")