guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

260/308: gnu: Add rust-drm-0.11.


From: guix-commits
Subject: 260/308: gnu: Add rust-drm-0.11.
Date: Wed, 4 Dec 2024 16:21:22 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2e6e4b1d79866aeeae20386da9e8afbc89122d65
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 15:19:37 2024 +0200

    gnu: Add rust-drm-0.11.
    
    * gnu/packages/crates-graphics.scm (rust-drm-0.11): New variable.
    
    Change-Id: Id6f7ac17f2d383a692b328def1bd93ad45913346
---
 gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 07c8d3cfde..433901af52 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1203,6 +1203,28 @@ and iOS.")
      "Safe, low-level bindings to the Direct Rendering Manager API.")
     (license license:expat)))
 
+(define-public rust-drm-0.11
+  (package
+    (inherit rust-drm-0.12)
+    (name "rust-drm")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pnwicchrbkmfx9rn222q7a8jalzm6faa9pgnkdffnnpc2gady50"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-bytemuck" ,rust-bytemuck-1)
+                       ("rust-drm-ffi" ,rust-drm-ffi-0.7)
+                       ("rust-drm-fourcc" ,rust-drm-fourcc-2)
+                       ("rust-rustix" ,rust-rustix-0.38))
+       #:cargo-development-inputs (("rust-image" ,rust-image-0.24)
+                                   ("rust-rustix" ,rust-rustix-0.38)
+                                   ("rust-rustyline" ,rust-rustyline-13))))))
+
 (define-public rust-drm-0.10
   (package
     (inherit rust-drm-0.12)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]