diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-14 10:28:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:21 +0200 |
commit | d546b85bd666b2e75c7a3ba7f88bc5bb3be24f95 (patch) | |
tree | 55d91d94a77dd4d7ecfce4a89906ad83ec4355e6 /gnu/packages/crates-graphics.scm | |
parent | add405e0302cece1bafe48fdb2ae30dc6abba696 (diff) | |
download | guix-d546b85bd666b2e75c7a3ba7f88bc5bb3be24f95.tar.gz guix-d546b85bd666b2e75c7a3ba7f88bc5bb3be24f95.zip |
gnu: Add rust-drm-ffi-0.8.
* gnu/packages/crates-graphics.scm (rust-drm-ffi-0.8): New variable.
(rust-drm-ffi-0.6): Inherit from rust-drm-ffi-0.8.
Change-Id: I8c102f8d014f55627feb6d45eb7980947f9b2948
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index a44d499e63..50b6aa41c8 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1175,27 +1175,43 @@ and iOS.") ("rust-nix" ,rust-nix-0.27) ("rust-rustyline" ,rust-rustyline-12)))))) -(define-public rust-drm-ffi-0.6 +(define-public rust-drm-ffi-0.8 (package (name "rust-drm-ffi") - (version "0.6.0") + (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 "0par8xcrpnz1h53yam4ai9jpqc9as337vclzsn4hw9xnqhciqzds")))) + (base32 "0lwd4zvimd4132cpay3vs41gf1sv3s4gx37a997wnz4bwhkqgjcp")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.5) - ("rust-nix" ,rust-nix-0.27)))) + `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.7) + ("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") (description "Safe, low-level bindings to the Direct Rendering Manager API.") (license license:expat))) +(define-public rust-drm-ffi-0.6 + (package + (inherit rust-drm-ffi-0.8) + (name "rust-drm-ffi") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0par8xcrpnz1h53yam4ai9jpqc9as337vclzsn4hw9xnqhciqzds")))) + (arguments + `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.5) + ("rust-nix" ,rust-nix-0.27)))))) + (define-public rust-drm-fourcc-2 (package (name "rust-drm-fourcc") |