Subject: [bug#67515] [PATCH 60/91] gnu: Add rust-drm-ffi-0.5.

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

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

Change-Id: I8c48b3c0bfd4d9cbe853e6fb0f42bbc68ccbc1c2
---
 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 573de8ae33..c3106c0e1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22718,6 +22718,27 @@ (define-public rust-drm-sys-0.4
     (description "Bindings to the Direct Rendering Manager API")
     (license license:expat)))
 
+(define-public rust-drm-ffi-0.5
+  (package
+    (name "rust-drm-ffi")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm-ffi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "09fmv3qg5vmk9g17a3j1gjx8vf8qrwrnpvzq3f57mqlhgcdlhlhk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.4)
+                       ("rust-nix" ,rust-nix-0.26))))
+    (home-page "https://github.com/Smithay/drm-rs")
+    (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
+    (description
+     "Safe, low-level 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