gnu: rust-wayland-commons-0.28: Adapt for new build system.
authorEfraim Flashner <efraim@flashner.co.il>
Mon, 15 Mar 2021 12:31:12 +0000 (14:31 +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-commons-0.28)
[arguments]: Don't skip build. Remove rust-wayland-sys-0.28 from
cargo-inputs.
[inputs]: Add rust-nix-0.18, rust-once-cell-1, rust-smallvec-1,
rust-wayland-sys-0.28.
(rust-wayland-commons-0.23): Adjust accordingly.

gnu/packages/crates-graphics.scm

index d67e9dc..7dde00f 100644 (file)
@@ -2413,12 +2413,15 @@ the wayland protocol, client side.")
         (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-nix" ,rust-nix-0.18)
         ("rust-once-cell" ,rust-once-cell-1)
-        ("rust-smallvec" ,rust-smallvec-1)
-        ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
+        ("rust-smallvec" ,rust-smallvec-1))))
+    (inputs
+     `(("rust-nix" ,rust-nix-0.18)
+       ("rust-once-cell" ,rust-once-cell-1)
+       ("rust-smallvec" ,rust-smallvec-1)
+       ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
     (home-page "https://github.com/smithay/wayland-rs")
     (synopsis "Types and structures used by wayland-client and wayland-server")
     (description
@@ -2441,9 +2444,11 @@ and wayland-server.")
         (base32
          "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-nix" ,rust-nix-0.14)
-        ("rust-wayland-sys" ,rust-wayland-sys-0.23))))))
+        ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
+    (inputs `())))
 
 (define-public rust-wayland-commons-0.21
   (package