me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-rustyline-7.

* gnu/packages/crates-io.scm (rust-rustyline-7): New variable.
(rust-rustyline-6): Inherit from above.
master
Nicolas Goaziou 2021-02-16 22:14:33 +01:00
parent 6c6e8eea17
commit 75a1ceaf4b
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 37 additions and 7 deletions

View File

@ -34237,8 +34237,44 @@ sub-processes using a fork-like interface.")
("rust-tempfile" ,rust-tempfile-3)
("rust-wait-timeout" ,rust-wait-timeout-0.2))))))
(define-public rust-rustyline-7
(package
(name "rust-rustyline")
(version "7.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustyline" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1v1czmy3ir7d06xldp8bg94l97hrm15hcgdxxkq3cwbizhdk09w2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-dirs-next" ,rust-dirs-next-2)
("rust-fs2" ,rust-fs2-0.4)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-memchr" ,rust-memchr-2)
("rust-nix" ,rust-nix-0.19)
("rust-scopeguard" ,rust-scopeguard-1)
("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)
("skim" ,skim-0.7))))
(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-6
(package
(inherit rust-rustyline-7)
(name "rust-rustyline")
(version "6.3.0")
(source
@ -34250,7 +34286,6 @@ sub-processes using a fork-like interface.")
(sha256
(base32
"04w4k0nwsra84h90rvwkr6vmjp3nshjqaj9rakfym8qr09xmw3bg"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
@ -34270,12 +34305,7 @@ sub-processes using a fork-like interface.")
("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)))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-rustyline-derive-0.3
(package