From 5e68397fff699b0778c45c5a2404b40e3468cfce Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:37 +0300 Subject: [PATCH] gnu: Add rust-filedescriptor-0.8. * gnu/packages/crates-io.scm (rust-filedescriptor-0.8): New variable. Change-Id: I180aa562a81b3504bce4ea5525dba186b95076dc --- 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 184a34be0a..12a0c69b5a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25958,6 +25958,29 @@ prime field implementations in rust.") (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 + "More ergonomic wrappers around @code{RawFd} and @code{RawHandle}.") + (license license:expat))) + (define-public rust-filesize-0.2 (package (name "rust-filesize")