guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

70/436: gnu: Add rust-io-close-0.3.


From: guix-commits
Subject: 70/436: gnu: Add rust-io-close-0.3.
Date: Sun, 5 Nov 2023 05:28:09 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9ee0fc8ba5e8974226c8cc4d8b06331b0807168f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:10:37 2023 +0300

    gnu: Add rust-io-close-0.3.
    
    * gnu/packages/crates-io.scm (rust-io-close-0.3): New variable.
    
    Change-Id: If02416545b4d3ceee1f3b6d922cc22609d286fca
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9061a8a4f1..92a3e4cfef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34791,6 +34791,32 @@ versions < 0.2.")
     ;; Either license can be chosen at the users option.
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-io-close-0.3
+  (package
+    (name "rust-io-close")
+    (version "0.3.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "io-close" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1g4hldfn436rkrx3jlm4az1y5gdmkcixdlhkwy64yx06gx2czbcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-os-pipe" ,rust-os-pipe-0.9)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://gitlab.com/wufz/io-close";)
+    (synopsis "Safely dropping I/O writers such as File and BufWriter")
+    (description
+     "An extension trait for safely dropping I/O writers such as File and
+@code{BufWriter}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-io-lifetimes-1
   (package
     (name "rust-io-lifetimes")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]