aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-06-17 16:16:18 -0700
committerEfraim Flashner <efraim@flashner.co.il>2020-11-22 19:44:36 +0200
commit200df76aae5a21a553285c843142a1b8cfb907ec (patch)
tree537efadcc5a72b3302c7631cef554c932d05ba95 /gnu
parent27d81c42bdaecfcad2f330c0391ae24e979d2733 (diff)
downloadguix-200df76aae5a21a553285c843142a1b8cfb907ec.tar
guix-200df76aae5a21a553285c843142a1b8cfb907ec.tar.gz
gnu: Add rust-line-0.1.
* gnu/packages/crates-io.scm (rust-line-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cbbbdb2b19..1db2dd7a96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13868,6 +13868,38 @@ known as zlib).")
(license (list license:asl2.0
license:expat))))
+(define-public rust-line-0.1
+ (package
+ (name "rust-line")
+ (version "0.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "line" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pissvrl5398701zlfd22w51ca32vhw83vbsl58a330hr4w5ra04"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-utf8parse" ,rust-utf8parse-0.1))))
+ (home-page "https://crates.io/crates/line")
+ (synopsis "Rust implementation of line editing in a terminal")
+ (description
+ "The main goals of this library are:
+
+@itemize
+@item Portability: should work on any system (Unix or Windows).
+@item Support: was written for a real-world project (Pijul), so support is
+unlikely to stop soon.
+@item Output quality: avoid usual blinking terminal lines that older C
+libraries have.
+@end itemize")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-line-wrap-0.1
(package
(name "rust-line-wrap")