efraim pushed a commit to branch rust-team
in repository guix.
commit e7ec628d442d0447936f114718e75e53f531c231
Author: Divya Ranjan <[email protected]>
AuthorDate: Sun Jan 5 07:03:40 2025 +0000
gnu: Add rust-termios-0.2.
* gnu/packages/crates-io.scm (rust-termios-0.2): New variable.
Change-Id: I55759155d447ec3f70495f6c02eee1b9851b799d
Signed-off-by: Efraim Flashner <[email protected]>
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a276236054..ba6589783c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79454,13 +79454,13 @@ color of the terminal.")
(name "rust-termios")
(version "0.3.3")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "termios" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "termios" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -79474,6 +79474,21 @@ 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-termios-0.2
+ (package
+ (inherit rust-termios-0.3)
+ (name "rust-termios")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "termios" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fk8nl0rmk43jrh6hjz6c6d83ri7l6fikag6lh0ffz3di9cwznfm"))))
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-termtree-0.5
(package
(name "rust-termtree")