guix-commits
[Top][All Lists]
Advanced

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

05/12: gnu: Add rust-close-fds-0.3.


From: guix-commits
Subject: 05/12: gnu: Add rust-close-fds-0.3.
Date: Tue, 23 Jan 2024 10:47:43 -0500 (EST)

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

commit 226106d49bc4026614e8cb9814b44ac70839d8f2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 23 17:06:04 2024 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be31a30bfc..3d2915762d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10993,6 +10993,28 @@ or to a file as well.")
        (("rust-nix" ,rust-nix-0.19)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-close-fds-0.3
+  (package
+    (name "rust-close-fds")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "close_fds" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vd2i1gkvfcgdlzgrkgivhx3ky0zs98g8q3mwmwrxmg97pridi1v"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/cptpcrd/close_fds";)
+    (synopsis "Library that makes it easy to close all open file descriptors")
+    (description
+     "This package provides a library that makes it easy to close all open file
+descriptors.")
+    (license license:expat)))
+
 (define-public rust-cloudabi-0.1
   (package
     (name "rust-cloudabi")



reply via email to

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