From 00d1af9d4c874ffc57184cc548135e2e96cd9508 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 8 Jan 2024 13:14:50 +0200 Subject: [PATCH] gnu: rust-wayland-sys-0.28: Update to 0.28.6. * gnu/packages/crates-graphics.scm (rust-wayland-sys-0.28): Update to 0.28.6. [arguments]: Remove trailing #t from phases. [cargo-inputs]: Add rust-memoffset-0.6. Replace rust-dlib-0.4 with 0.5. [propagated-inputs]: Move wayland from here ... [inputs]: ... to here. Remove all other inputs. Change-Id: Id642616de81f85d39a02eb7037d968c68cc8c39e --- gnu/packages/crates-graphics.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 50ffdd1d98..e082fed626 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4777,20 +4777,21 @@ (define-public rust-wayland-sys-0.28 (package (inherit rust-wayland-sys-0.29) (name "rust-wayland-sys") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7")))) + (base32 "1f7yy3c6h270xd4wk2nsrr9433gmkg29d5rfxndvzznpmslzqhfq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.4) + (("rust-dlib" ,rust-dlib-0.5) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:phases (modify-phases %standard-phases @@ -4799,13 +4800,8 @@ (define-public rust-wayland-sys-0.28 (let ((libwayland (assoc-ref inputs "wayland"))) (substitute* (find-files "src" "\\.rs$") (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/lib/" shared-lib))) - #t)))))) - (inputs - (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2 - rust-pkg-config-0.3)) - (propagated-inputs - (list wayland)))) + (string-append libwayland "/lib/" shared-lib))))))))) + (inputs (list wayland)))) (define-public rust-wayland-sys-0.23 (package @@ -4826,9 +4822,7 @@ (define-public rust-wayland-sys-0.23 #:cargo-inputs (("rust-dlib" ,rust-dlib-0.4) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2)))) - (inputs `()) - (propagated-inputs `()))) + ("rust-libc" ,rust-libc-0.2)))))) (define-public rust-wayland-sys-0.21 (package