guix-commits
[Top][All Lists]
Advanced

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

171/311: gnu: Add rust-io-uring-0.5.


From: guix-commits
Subject: 171/311: gnu: Add rust-io-uring-0.5.
Date: Sat, 28 Oct 2023 16:38:55 -0400 (EDT)

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

commit eab879e9995d91a2d631bdd19967322b622fda02
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:54:39 2023 +0300

    gnu: Add rust-io-uring-0.5.
    
    * gnu/packages/crates-io.scm (rust-io-uring-0.5): New variable.
    
    Change-Id: Ib11d26befa77480408dea342c6ea19ba6b1e158e
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b3553f500..64cfa67c0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36537,6 +36537,31 @@ library.")
              ("rust-tokio" ,rust-tokio-1)
              ("rust-windows-sys" ,rust-windows-sys-0.42))))))
 
+(define-public rust-io-uring-0.5
+  (package
+    (name "rust-io-uring")
+    (version "0.5.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "io-uring" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k4qrzhnc8j50g79ki8n79d4yffvcmwq5dj3bj6gs95rrw0il7nx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.61)
+                       ("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-sc" ,rust-sc-0.2))
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+                                   ("rust-slab" ,rust-slab-0.4)
+                                   ("rust-socket2" ,rust-socket2-0.4))))
+    (home-page "https://github.com/tokio-rs/io-uring";)
+    (synopsis "Low-level `io_uring` userspace interface for Rust")
+    (description "The low-level `io_uring` userspace interface for Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-iovec-0.1
   (package
     (name "rust-iovec")



reply via email to

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