mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +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.")
|
(description "This package provides a minimal terminfo library.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-termion-3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-termion-4)
|
||||||
(name "rust-termion")
|
(name "rust-termion")
|
||||||
(version "3.0.0")
|
(version "3.0.0")
|
||||||
(source
|
(source
|
||||||
|
@ -79156,19 +79182,13 @@ color of the terminal.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21"))))
|
(base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; tests require a terminal
|
`(#:tests? #f ; tests require a terminal
|
||||||
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-libredox" ,rust-libredox-0.0.2)
|
("rust-libredox" ,rust-libredox-0.0.2)
|
||||||
("rust-numtoa" ,rust-numtoa-0.1)
|
("rust-numtoa" ,rust-numtoa-0.1)
|
||||||
("rust-redox-termios" ,rust-redox-termios-0.1)
|
("rust-redox-termios" ,rust-redox-termios-0.1)
|
||||||
("rust-serde" ,rust-serde-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-2
|
(define-public rust-termion-2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue