Subject: [PATCH 05/44] gnu: Add rust-ioctl-rs-0.1.

From: Divya Ranjan <[email-masked]>
Date: Sun, 5 Jan 2025 07:03:41 +0000

* gnu/packages/crates-io.scm (rust-ioctl-rs-0.1): New variable.

Change-Id: Ie5f8a2e6d8da7c192367452a74e535289f7a99bb
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11c36cc7dd..7394fb5072 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2024 Jordan Moore <[email-masked]>
 ;;; Copyright © 2024 Sharlatan Hellseher <[email-masked]>
 ;;; Copyright © 2024 Murilo <[email-masked]>
+;;; Copyright © 2024 Divya Ranjan Pattanaik <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -34816,6 +34817,25 @@ (define-public rust-io-close-0.3
 @code{BufWriter}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ioctl-rs-0.1
+  (package
+    (name "rust-ioctl-rs")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ioctl-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zdrgqxblrwm4ym8pwrr7a4dwjzxrvr1k0qjx6rk1vjwi480b5zp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/dcuddeback/ioctl-rs")
+    (synopsis "Rust bindings for system ioctls")
+    (description "This package provides Rust bindings for system ioctls.")
+    (license license:expat)))
+
 (define-public rust-io-extras-0.18
   (package
     (name "rust-io-extras")
-- 
2.47.1