diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-01-03 12:27:09 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-03 12:49:35 +0200 |
commit | a4fa18f4e8b316fb41632b1648476c752e618a83 (patch) | |
tree | 82b1a115801926c8eae9b800173685fa78b758e7 | |
parent | 9bceb6de87cdf9108da86caa2479ca296002470f (diff) | |
download | guix-a4fa18f4e8b316fb41632b1648476c752e618a83.tar.gz |
gnu: Add rust-rustyline-6.
* gnu/packages/crates-io.scm (rust-rustyline-6): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
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") |