Subject: [PATCH 58/91] gnu: Add rust-drm-fourcc-2.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78703b8bc3..26029b94ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22674,6 +22674,29 @@ (define-public rust-draw-state-0.8
     (description "Graphics state blocks for gfx-rs.")
     (license license:asl2.0)))
 
+(define-public rust-drm-fourcc-2
+  (package
+    (name "rust-drm-fourcc")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm-fourcc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1x76v9a0pkgym4n6cah4barnai9gsssm7gjzxskw2agwibdvrbqa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.57)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/danielzfranklin/drm-fourcc-rs")
+    (synopsis "Provides an enum with every valid Direct Rendering Manager
+(DRM) format fourcc")
+    (description "This package provides an enum with every valid Direct
+Rendering Manager (DRM) format fourcc")
+    (license license:expat)))
+
 (define-public rust-drop-bomb-0.1
   (package
     (name "rust-drop-bomb")
-- 
2.41.0