gnu: Add rust-rustyline-13.

* gnu/packages/crates-io.scm (rust-rustyline-13): New variable.
(rust-rustyline-12): Inherit from rust-rustyline-13.

Change-Id: I012f07c24adb44c424e8fe03fbc4dd820e4e96e6
This commit is contained in:
Efraim Flashner 2024-03-18 11:35:12 +02:00
parent 90ff2cd9f2
commit dac6a8d896
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -61770,8 +61770,55 @@ sub-processes using a fork-like interface.")
("rust-tempfile" ,rust-tempfile-3)
("rust-wait-timeout" ,rust-wait-timeout-0.2))))))
(define-public rust-rustyline-13
(package
(name "rust-rustyline")
(version "13.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustyline" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11mywskk2jcxhanlsgzza5yx6ywpdlzr64qhbgpsx45clj1xd8h2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
"--skip=binding::test::size_of_event")
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-clipboard-win" ,rust-clipboard-win-5)
("rust-fd-lock" ,rust-fd-lock-4)
("rust-home" ,rust-home-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-memchr" ,rust-memchr-2)
("rust-nix" ,rust-nix-0.27)
("rust-radix-trie" ,rust-radix-trie-0.2)
("rust-regex" ,rust-regex-1)
("rust-rusqlite" ,rust-rusqlite-0.30)
("rust-rustyline-derive" ,rust-rustyline-derive-0.10)
("rust-signal-hook" ,rust-signal-hook-0.3)
("rust-skim" ,rust-skim-0.10)
("rust-termios" ,rust-termios-0.3)
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("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)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/kkawakam/rustyline")
(synopsis "Readline implementation in Rust")
(description
"Rustyline is a readline implementation based on the linenoise package.")
(license license:expat)))
(define-public rust-rustyline-12
(package
(inherit rust-rustyline-13)
(name "rust-rustyline")
(version "12.0.0")
(source
@ -61781,7 +61828,6 @@ sub-processes using a fork-like interface.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1fcxgkz6hia74wnwnf1b92s69gnij5xgr42xw637xj05r95wlklr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-cfg-if" ,rust-cfg-if-1)
@ -61807,12 +61853,7 @@ sub-processes using a fork-like interface.")
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/kkawakam/rustyline")
(synopsis "Readline implementation in Rust")
(description
"Rustyline is a readline implementation based on the linenoise package.")
(license license:expat)))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-rustyline-10
(package