summary refs log tree commit diff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-03-15 14:36:55 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-03-15 15:53:15 +0200
commitbb06a747b2884c00a8c125cb499c7c13dcddf46e (patch)
tree8afd2618bc8687b01b611631789308cc8928deed /gnu/packages/crates-graphics.scm
parent3b6ec859c2101fea2aa58cfc95d83f63e83aa3f4 (diff)
downloadguix-bb06a747b2884c00a8c125cb499c7c13dcddf46e.tar.gz
gnu: rust-wayland-egl-0.28: Adapt for new build system.
* gnu/packages/crates-graphics.scm (rust-wayland-egl-0.28)
[arguments]: Don't skip build. Remove cargo-inputs.
[inputs]: Add rust-wayland-client-0.28, rust-wayland-sys-0.28.
[native-inputs]: Add pkg-config.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f2699ed8c3..76a4cc96e3 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2518,11 +2518,12 @@ properly display animated cursors.")
        (sha256
         (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
     (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-wayland-client" ,rust-wayland-client-0.28)
-        ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
+    (inputs
+     `(("rust-wayland-client" ,rust-wayland-client-0.28)
+       ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
+    ;; For the PKG_CONFIG_PATH environment variable.
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
     (home-page "https://github.com/smithay/wayland-rs")
     (synopsis "Bindings to libwayland-egl")
     (description