gnu: Add rust-drm-sys-0.8.

* gnu/packages/crates-io (rust-drm-sys-0.8): New variable.

Change-Id: I573d5fd2868d098afd6e4cd89df5b4740827fee2
Signed-off-by: Steve George <steve@futurile.net>
This commit is contained in:
Daniel Ziltener via Guix-patches via 2025-04-04 10:14:05 +02:00 committed by Hilton Chain
parent 3c7d530b8e
commit 6030d3ec07
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1212,8 +1212,32 @@ and iOS.")
Direct Rendering Manager} format fourcc.")
(license license:expat)))
(define-public rust-drm-sys-0.8
(package
(name "rust-drm-sys")
(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 "1345z72hd2rna4qxd2zcpbzvw0z7ywfndk6g2ngdci69vg46dyxs"))))
(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))))
(home-page "https://github.com/Smithay/drm-rs")
(synopsis "Bindings to the Direct Rendering Manager API")
(description
"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
@ -1228,12 +1252,7 @@ Direct Rendering Manager} format fourcc.")
`(#: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))))
(home-page "https://github.com/Smithay/drm-rs")
(synopsis "Bindings to the Direct Rendering Manager API")
(description
"This package provides bindings to the Direct Rendering Manager API.")
(license license:expat)))
("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-drm-sys-0.6
(package