diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-14 09:47:32 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:14 +0200 |
commit | 0ff04b64b48013d1e4048b22784f7213275288da (patch) | |
tree | 85fbb6df7bea534a7c8f816c7cf59e58d09fa141 /gnu/packages/crates-graphics.scm | |
parent | dc250ed3ab0f3ed19e3d04b4f56474b358f980bb (diff) | |
download | guix-0ff04b64b48013d1e4048b22784f7213275288da.tar.gz guix-0ff04b64b48013d1e4048b22784f7213275288da.zip |
gnu: Add rust-drm-sys-0.7.
* gnu/packages/crates-graphics.scm (rust-drm-sys-0.7): New variable.
(rust-drm-sys-0.5): Inherit from rust-drm-sys-0.7.
Change-Id: I1e9842c88d7bacb0fb078654a4f34c25a62e196d
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 895b39f091..6a55994747 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1141,26 +1141,45 @@ and iOS.") Direct Rendering Manager} format fourcc.") (license license:expat))) -(define-public rust-drm-sys-0.5 +(define-public rust-drm-sys-0.7 (package (name "rust-drm-sys") - (version "0.5.0") + (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 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs")))) + (base32 "11irvbzb0rbsm5zxgxsbaca8f6nvkl8kvwk3hwp6q6bf1gjdsfgx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + `(#: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 "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.5 + (package + (inherit rust-drm-sys-0.7) + (name "rust-drm-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-enterpolation-0.2 (package (name "rust-enterpolation") |