[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66104] [PATCH 2/9] gnu: add rust-filedescriptor-0.8
From: |
Andrew Jose |
Subject: |
[bug#66104] [PATCH 2/9] gnu: add rust-filedescriptor-0.8 |
Date: |
Tue, 3 Oct 2023 14:26:32 +0530 |
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f598aad01..b8e5cc8322 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24218,6 +24218,29 @@ (define-public rust-file-diff-1
(description "An atomic utility for diffing files in testing.")
(license license:bsd-3)))
+(define-public rust-filedescriptor-0.8
+ (package
+ (name "rust-filedescriptor")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "filedescriptor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vplyh0cw35kzq7smmp2ablq0zsknk5rkvvrywqsqfrchmjxk6bi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/wez/wezterm")
+ (synopsis "More ergonomic wrappers around RawFd and RawHandle")
+ (description
+ "The purpose of this crate is to make it a bit more ergonomic for
portable applications that need to work with the platform level @code{RawFd}
and @code{RawHandle} types. Rather than conditionally using @code{RawFd} and
@code{RawHandle,} the @code{FileDescriptor} type can be used to manage
ownership, duplicate, read and write.")
+ (license license:expat)))
+
(define-public rust-filesize-0.2
(package
(name "rust-filesize")
--
2.34.1
- [bug#66104] REVISION [PATCH 0/9] gnu: add rust-crossterm-0.27, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 1/9] gnu: add rust-dashmap-5, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 9/9] gnu: Add rust-crossterm-0.27, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 3/9] gnu: update rust-lock-api-0.4 to version 0.4.10, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 2/9] gnu: add rust-filedescriptor-0.8,
Andrew Jose <=
- [bug#66104] [PATCH 4/9] gnu: rust-signal-hook-0.3 update to version 0.3.17, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 5/9] gnu: rust-crossterm-winapi-0.9 update to version 0.9.1, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 6/9] gnu: add rust-serial-test-derive-2, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 8/9] gnu: add rust-serial-test-2, Andrew Jose, 2023/10/03
- [bug#66104] [PATCH 7/9] gnu: rust-parking-lot-core-0.9 update to version 0.9.8, Andrew Jose, 2023/10/03