[bug#77531,1/2] gnu: rust-drm-sys: Add version 0.8

Message ID 20250404081442.17875-1-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:14 a.m. UTC
  ---
 gnu/packages/crates-graphics.scm | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 9751ba5f75..7f8b0c03dd 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1212,17 +1212,17 @@  (define-public rust-drm-fourcc-2
 Direct Rendering Manager} format fourcc.")
     (license license:expat)))
 
-(define-public rust-drm-sys-0.7
+(define-public rust-drm-sys-0.8
   (package
     (name "rust-drm-sys")
-    (version "0.7.0")
+    (version "0.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "drm-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "11irvbzb0rbsm5zxgxsbaca8f6nvkl8kvwk3hwp6q6bf1gjdsfgx"))))
+        (base32 "1345z72hd2rna4qxd2zcpbzvw0z7ywfndk6g2ngdci69vg46dyxs"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
@@ -1235,6 +1235,25 @@  (define-public rust-drm-sys-0.7
      "This package provides bindings to the Direct Rendering Manager API.")
     (license license:expat)))
 
+(define-public rust-drm-sys-0.7
+  (package
+    (inherit rust-drm-sys-0.8)
+    (name "rust-drm-sys")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "drm-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11irvbzb0rbsm5zxgxsbaca8f6nvkl8kvwk3hwp6q6bf1gjdsfgx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))))
+
 (define-public rust-drm-sys-0.6
   (package
     (inherit rust-drm-sys-0.7)