From 10c21c3af8c8e6814186407ae38b41995ed93637 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:02:12 +0200 Subject: [PATCH] gnu: Add rust-drm-sys-0.5. * gnu/packages/crates-graphics.scm (rust-drm-sys-0.5): New variable. Change-Id: I34ee567d9cd93630e35e7d2796414af762da2477 --- gnu/packages/crates-graphics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index b19fce6a40..a5a436cd1d 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -878,6 +878,26 @@ (define-public rust-dcv-color-primitives-0.4 "This package provides a library to perform image color model conversion.") (license license:expat-0))) +(define-public rust-drm-sys-0.5 + (package + (name "rust-drm-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/Smithay/drm-rs") + (synopsis "Bindings to the Direct Rendering Manager API") + (description "Bindings to the Direct Rendering Manager API.") + (license license:expat))) + (define-public rust-enterpolation-0.2 (package (name "rust-enterpolation")