diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:01 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:09 +0200 |
commit | f68d32fbb57782a9f43c4d11f83d03d2fe54ccce (patch) | |
tree | 61b2f036c413c806357419d5f6a9e55854ca8ddd /gnu/packages/crates-io.scm | |
parent | f744bf31431480e3ce3b2e6336a8859e9aca1f7d (diff) |
gnu: Add rust-rustyline-5.
* gnu/packages/crates-io.scm (rust-rustyline-5): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b5c14d59d5..9fdedc36f7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40415,6 +40415,36 @@ sub-processes using a fork-like interface.") ("rust-rustyline-derive" ,rust-rustyline-derive-0.3) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-rustyline-5 + (package + (inherit rust-rustyline-6) + (name "rust-rustyline") + (version "5.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dd6hwm3rqj8d17gf38ffs1lh3b8dqw45j5kxnvazmm80abv2g52")))) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-dirs" ,rust-dirs-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-nix" ,rust-nix-0.14) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-utf8parse" ,rust-utf8parse-0.1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-rustyline-derive" ,rust-rustyline-derive-0.2) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + (define-public rust-rustyline-derive-0.3 (package (name "rust-rustyline-derive") |