gnu: Add rust-termion-2.
* gnu/packages/crates-io.scm (rust-termion-2): New variable. (rust-termion-1): Inherit from RUST-TERMION-2. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
parent
d039eec963
commit
30e23d455f
1 changed files with 33 additions and 12 deletions
|
@ -58196,8 +58196,35 @@ writing colored text to a terminal.")
|
||||||
(description "Terminal capabilities with type-safe getters.")
|
(description "Terminal capabilities with type-safe getters.")
|
||||||
(license license:wtfpl2)))
|
(license license:wtfpl2)))
|
||||||
|
|
||||||
|
(define-public rust-termion-2
|
||||||
|
(package
|
||||||
|
(name "rust-termion")
|
||||||
|
(version "2.0.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "termion" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"147c0a9l2dj4l8xhd7bb1f0f611lv6k0szacx3jwf21lkwviz735"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:tests? #f ;tests require a terminal
|
||||||
|
#:cargo-inputs
|
||||||
|
`(("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-numtoa" ,rust-numtoa-0.1)
|
||||||
|
("rust-redox-syscall" ,rust-redox-syscall-0.2)
|
||||||
|
("rust-redox-termios" ,rust-redox-termios-0.1)
|
||||||
|
("rust-serde" ,rust-serde-1))))
|
||||||
|
(home-page "https://gitlab.redox-os.org/redox-os/termion")
|
||||||
|
(synopsis "Library for manipulating terminals")
|
||||||
|
(description
|
||||||
|
"This package provides a bindless library for manipulating terminals.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-termion-1
|
(define-public rust-termion-1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-termion-2)
|
||||||
(name "rust-termion")
|
(name "rust-termion")
|
||||||
(version "1.5.5")
|
(version "1.5.5")
|
||||||
(source
|
(source
|
||||||
|
@ -58208,19 +58235,13 @@ writing colored text to a terminal.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01f9787d5nx445bqbj644v38bn0hl2swwjy9baz0dnbqi6fyqb62"))))
|
"01f9787d5nx445bqbj644v38bn0hl2swwjy9baz0dnbqi6fyqb62"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Tests want a terminal.
|
(list #:tests? #f ;tests require a terminal
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
`(("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-numtoa" ,rust-numtoa-0.1)
|
("rust-numtoa" ,rust-numtoa-0.1)
|
||||||
("rust-redox-syscall" ,rust-redox-syscall-0.1)
|
("rust-redox-syscall" ,rust-redox-syscall-0.1)
|
||||||
("rust-redox-termios" ,rust-redox-termios-0.1))))
|
("rust-redox-termios" ,rust-redox-termios-0.1))))))
|
||||||
(home-page "https://gitlab.redox-os.org/redox-os/termion")
|
|
||||||
(synopsis "Library for manipulating terminals")
|
|
||||||
(description
|
|
||||||
"This package provides a bindless library for manipulating terminals.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-termios-0.3
|
(define-public rust-termios-0.3
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue