diff mbox series

[bug#67515,58/91] gnu: Add rust-drm-fourcc-2.

Message ID DU2P193MB21326C26768210D998FA86DCF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* 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 mbox series

Patch

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")