From 67d2f0f3837633ccf82308e66a3a6dd3799c74ae Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 23 Jan 2024 17:06:04 +0200 Subject: [PATCH] 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 512a903056..5bd140b89e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10993,6 +10993,28 @@ (define-public rust-clircle-0.3 (("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")