mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-getch-0.2.
* gnu/packages/crates-io.scm (rust-getch-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
e7c83de37a
commit
f6417cdb79
1 changed files with 25 additions and 0 deletions
|
@ -9893,6 +9893,31 @@ API library @code{gdi32}.")
|
||||||
"This package provides a package for generating 3D meshes/")
|
"This package provides a package for generating 3D meshes/")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-getch-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-getch")
|
||||||
|
(version "0.2.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "getch" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"00in8q95qi8a5q3zn2zcaqp5avj79f5myd2a4zfdy2m24ycvbc5v"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-termios" ,rust-termios-0.2))))
|
||||||
|
(home-page "https://nest.pijul.com/pijul_org/getch")
|
||||||
|
(synopsis "Portable implementation of getch")
|
||||||
|
(description
|
||||||
|
"This package provides a portable implementation of getch, using
|
||||||
|
@code{_getch} on Windows, and @code{termios} on Unix.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public rust-getopts-0.2
|
(define-public rust-getopts-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-getopts")
|
(name "rust-getopts")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue