diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:07:44 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:23 +0200 |
commit | 86955cd7b281cd828a39ffb158e12923992fd701 (patch) | |
tree | f73bf7ef07ec932e5a352dd4e8689a759763cdc0 /gnu/packages/crates-graphics.scm | |
parent | 764300d533d14876d5e664c1b6242dedb45a4703 (diff) | |
download | guix-86955cd7b281cd828a39ffb158e12923992fd701.tar.gz |
gnu: Add rust-drm-0.10.
* gnu/packages/crates-graphics.scm (rust-drm-0.10): New variable. Change-Id: I81879e069688554988e29db341ebe04ba10679e9
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 30465a90c0..f0d92ef869 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -908,6 +908,33 @@ and iOS.") "This package provides a library to perform image color model conversion.") (license license:expat-0))) +(define-public rust-drm-0.10 + (package + (name "rust-drm") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11xyv3l03a3zxsrfr02mwnn5d6h4100919zb2v9fpizv7xq1pywp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-drm-ffi" ,rust-drm-ffi-0.6) + ("rust-drm-fourcc" ,rust-drm-fourcc-2) + ("rust-nix" ,rust-nix-0.27)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.24) + ("rust-nix" ,rust-nix-0.27) + ("rust-rustyline" ,rust-rustyline-12)))) + (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-drm-ffi-0.6 (package (name "rust-drm-ffi") |