[bug#77531,2/2] gnu: rust-drm-ffi: Add version 0.9.

Message ID 20250404081758.18599-2-dziltener@lyrion.ch
State New
Headers
Series [bug#77531,1/2] gnu: rust-drm-sys: Add version 0.8 |

Commit Message

Daniel Ziltener April 4, 2025, 8:17 a.m. UTC
  ---
 gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 7f8b0c03dd..f9273b1da6 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1137,20 +1137,20 @@  (define-public rust-drm-0.11
                                    ("rust-rustix" ,rust-rustix-0.38)
                                    ("rust-rustyline" ,rust-rustyline-13))))))
 
-(define-public rust-drm-ffi-0.8
+(define-public rust-drm-ffi-0.9
   (package
     (name "rust-drm-ffi")
-    (version "0.8.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "drm-ffi" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0lwd4zvimd4132cpay3vs41gf1sv3s4gx37a997wnz4bwhkqgjcp"))))
+        (base32 "12vff80hdpp81gj5lqw25xnkppwsxc4wklpn8nc556wsv5ci9r6q"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.7)
+     `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.8)
                        ("rust-rustix" ,rust-rustix-0.38))))
     (home-page "https://github.com/Smithay/drm-rs")
     (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
@@ -1158,6 +1158,23 @@  (define-public rust-drm-ffi-0.8
      "Safe, low-level bindings to the Direct Rendering Manager API.")
     (license license:expat)))
 
+(define-public rust-drm-ffi-0.8
+  (package
+    (inherit rust-drm-ffi-0.7)
+    (name "rust-drm-ffi")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm-ffi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lwd4zvimd4132cpay3vs41gf1sv3s4gx37a997wnz4bwhkqgjcp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.7)
+                       ("rust-rustix" ,rust-rustix-0.38))))))
+
 (define-public rust-drm-ffi-0.7
   (package
     (inherit rust-drm-ffi-0.8)