summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-01-03 12:27:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-01-03 12:49:35 +0200
commita4fa18f4e8b316fb41632b1648476c752e618a83 (patch)
tree82b1a115801926c8eae9b800173685fa78b758e7 /gnu/packages
parent9bceb6de87cdf9108da86caa2479ca296002470f (diff)
gnu: Add rust-rustyline-6.
* gnu/packages/crates-io.scm (rust-rustyline-6): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e28ad9eb6..ebe4f77bb5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26175,6 +26175,46 @@ sub-processes using a fork-like interface.")
("rust-tempfile" ,rust-tempfile-3)
("rust-wait-timeout" ,rust-wait-timeout-0.2))))))
+(define-public rust-rustyline-6
+ (package
+ (name "rust-rustyline")
+ (version "6.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustyline" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04w4k0nwsra84h90rvwkr6vmjp3nshjqaj9rakfym8qr09xmw3bg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-dirs-next" ,rust-dirs-next-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-nix" ,rust-nix-0.18)
+ ("rust-scopeguard" ,rust-scopeguard-1)
+ ("rust-skim" ,rust-skim-0.7)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1.6)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-utf8parse" ,rust-utf8parse-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1.3)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-rustyline-derive" ,rust-rustyline-derive-0.3)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/kkawakam/rustyline")
+ (synopsis "Readline implementation in Rust")
+ (description
+ "Rustyline, a readline implementation based on the linenoise package.")
+ (license license:expat)))
+
(define-public rust-rustyline-derive-0.3
(package
(name "rust-rustyline-derive")