mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 19:10:49 +02:00
gnu: Add rust-termion-4.
* gnu/packages/crates-io.scm (rust-termion-4): New variable. (rust-termion-3): Inherit from rust-termion-4. Change-Id: I64913902469e7e65d0cb4c932d0502a9d1ffee58
This commit is contained in:
parent
7a59d86fa7
commit
687a2453e0
1 changed files with 27 additions and 7 deletions
|
@ -79145,8 +79145,34 @@ color of the terminal.")
|
|||
(description "This package provides a minimal terminfo library.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-termion-4
|
||||
(package
|
||||
(name "rust-termion")
|
||||
(version "4.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "termion" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "19r3r56cfhl2qvlphw1vrwga37la16rdi15q1d7wz8ji1rb9iaky"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; tests require a terminal
|
||||
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||
("rust-libredox" ,rust-libredox-0.1)
|
||||
("rust-numtoa" ,rust-numtoa-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-3
|
||||
(package
|
||||
(inherit rust-termion-4)
|
||||
(name "rust-termion")
|
||||
(version "3.0.0")
|
||||
(source
|
||||
|
@ -79156,19 +79182,13 @@ color of the terminal.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; tests require a terminal
|
||||
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||
("rust-libredox" ,rust-libredox-0.0.2)
|
||||
("rust-numtoa" ,rust-numtoa-0.1)
|
||||
("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)))
|
||||
("rust-serde" ,rust-serde-1))))))
|
||||
|
||||
(define-public rust-termion-2
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue