diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 14:56:06 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:01 +0300 |
commit | 9bdfe5c1ea5d8f0cdb923f77c0b1021239be1daf (patch) | |
tree | d1aa3c87dc7731e74135e2b735daa727d94c40dc /gnu/packages | |
parent | a353643035997e5392f43715b2878caecf849e6d (diff) | |
download | patches-9bdfe5c1ea5d8f0cdb923f77c0b1021239be1daf.tar patches-9bdfe5c1ea5d8f0cdb923f77c0b1021239be1daf.tar.gz |
gnu: Add rust-termios.
* gnu/packages/crates-io.scm (rust-termios): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2034c2198e..2ead1c578f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -888,6 +888,30 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-termios + (package + (name "rust-termios") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "termios" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc)))) + (home-page "https://github.com/dcuddeback/termios-rs") + (synopsis "Safe bindings for the termios library") + (description + "The termios crate provides safe bindings for the Rust programming language +to the terminal I/O interface implemented by Unix operating systems. The safe +bindings are a small wrapper around the raw C functions, which converts integer +return values to @code{std::io::Result} to indicate success or failure.") + (license license:expat))) + (define-public rust-typenum (package (name "rust-typenum") |