gnu: rust-wayland-egl-0.28: Adapt for new build system.
authorEfraim Flashner <efraim@flashner.co.il>
Mon, 15 Mar 2021 12:36:55 +0000 (14:36 +0200)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 15 Mar 2021 13:53:15 +0000 (15:53 +0200)
* 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.

gnu/packages/crates-graphics.scm

index f2699ed..76a4cc9 100644 (file)
@@ -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