summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:02:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:11 +0200
commit6c7638e616d5a8a32130c057c3d4882e27ac2984 (patch)
tree94b0f25353560bc98e0f7fca1ecb37b57074e1e0 /gnu
parent10c21c3af8c8e6814186407ae38b41995ed93637 (diff)
gnu: Add rust-drm-fourcc-2.
* gnu/packages/crates-graphics.scm (rust-drm-fourcc-2): New variable. Change-Id: Ic5021c71b187e5acac6e69eb2ce48189631a79f0
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index a5a436cd1d..3e1489fdae 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -878,6 +878,28 @@ and iOS.")
"This package provides a library to perform image color model conversion.")
(license license:expat-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 "Enum with every valid Direct Rendering Manager format fourcc")
+ (description "This package provides an enum with every valid @acronym{DRM,
+Direct Rendering Manager} format fourcc.")
+ (license license:expat)))
+
(define-public rust-drm-sys-0.5
(package
(name "rust-drm-sys")