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
This commit is contained in:
Efraim Flashner 2024-01-08 13:14:50 +02:00
parent 01a3c4af36
commit 00d1af9d4c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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