summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-08 13:14:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:37 +0200
commit00d1af9d4c874ffc57184cc548135e2e96cd9508 (patch)
tree01ba6009eedbb9c8783eb46f69c1de62e8224ade /gnu
parent01a3c4af368db657c17dd21f58d7379ba4d15910 (diff)
downloadguix-00d1af9d4c874ffc57184cc548135e2e96cd9508.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm20
1 files 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 @@ crate @code{rust-wayland-client} for usable bindings.")
   (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 @@ crate @code{rust-wayland-client} for usable bindings.")
              (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 @@ crate @code{rust-wayland-client} for usable bindings.")
        #: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