diff mbox series

[bug#54299,23/27] added rust-wayland-protocols@0.29

Message ID 20220308173127.21218-22-trzickel@illegalaliensfrom.space
State New
Headers show
Series None | expand

Commit Message

Till Robin Zickel March 8, 2022, 5:31 p.m. UTC
---
 gnu/packages/crates-graphics.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

M March 8, 2022, 5:53 p.m. UTC | #1
Till Robin Zickel schreef op di 08-03-2022 om 18:31 [+0100]:
> +    (arguments
> +     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1))))
> +    (inputs (list rust-bitflags-1 rust-wayland-client-0.29
> +                  rust-wayland-commons-0.29 rust-wayland-scanner-0.29
> +                  rust-wayland-server-0.29))))

What's the point of being both in #:cargo-inputs and inputs?  Would
simply being in 'inputs' suffice?
diff mbox series

Patch

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 2074211f94..91ea39c212 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2792,6 +2792,24 @@  (define-public rust-wayland-protocols-0.28
 extensions.")
     (license license:expat)))
 
+(define-public rust-wayland-protocols-0.29
+  (package
+    (inherit rust-wayland-protocols-0.28)
+    (name "rust-wayland-protocols")
+    (version "0.29.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "wayland-protocols" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hap8vky2fwsq05c98c8xs00gb9m5kxp8kq3zr0jwh036gi7l530"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1))))
+    (inputs (list rust-bitflags-1 rust-wayland-client-0.29
+                  rust-wayland-commons-0.29 rust-wayland-scanner-0.29
+                  rust-wayland-server-0.29))))
+
 (define-public rust-wayland-protocols-0.23
   (package
     (inherit rust-wayland-protocols-0.28)