Subject: [PATCH 59/91] gnu: Add rust-drm-sys-0.4.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:37 +0100

* gnu/packages/crates-io.scm (rust-drm-sys-0.4): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26029b94ce..573de8ae33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22697,6 +22697,27 @@ (define-public rust-drm-fourcc-2
 Rendering Manager (DRM) format fourcc")
     (license license:expat)))
 
+(define-public rust-drm-sys-0.4
+  (package
+    (name "rust-drm-sys")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bg4f95lg8hb10las2cab55wghhmqh9hc7jc9hinsw3bkmkz2s8k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.59)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (home-page "")
+    (synopsis "Bindings to the Direct Rendering Manager API")
+    (description "Bindings to the Direct Rendering Manager API")
+    (license license:expat)))
+
 (define-public rust-drop-bomb-0.1
   (package
     (name "rust-drop-bomb")
-- 
2.41.0