Subject: [bug#71278] [PATCH v2 27/44] gnu: Add rust-gtk-layer-shell-0.6.

From: Murilo <[email-masked]>
Date: Fri, 31 May 2024 09:38:17 -0300

* gnu/packages/crates-gtk.scm (rust-gtk-layer-shell-0.6): New variable.

Change-Id: I25154a79d4bdebc0a9744bc0bb9f64e3436bb127
---
 gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d601fa3128..6cf0933765 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2506,6 +2506,33 @@ (define-public rust-gtk-0.8
        #:cargo-development-inputs
        (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
 
+(define-public rust-gtk-layer-shell-0.6
+  (package
+    (name "rust-gtk-layer-shell")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gtk-layer-shell" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pzznf4x7pykx3ynjsfj2zv9b29lpxid3b40a9544d8qngnmybwr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-gtk-layer-shell-sys" ,rust-gtk-layer-shell-sys-0.6)
+                       ("rust-gtk" ,rust-gtk-0.17)
+                       ("rust-glib-sys" ,rust-glib-sys-0.17)
+                       ("rust-glib" ,rust-glib-0.17)
+                       ("rust-gdk" ,rust-gdk-0.17)
+                       ("rust-bitflags" ,rust-bitflags-2))))
+    (home-page
+     "https://github.com/pentamassiv/gtk-layer-shell-gir/tree/main/gtk-layer-shell")
+    (synopsis "Save gir-generated wrapper for gtk-layer-shell")
+    (description "Save gir-generated wrapper for gtk-layer-shell")
+    (license license:expat)))
+
 (define-public rust-gtk-rs-lgpl-docs-0.1
   (package
     (name "rust-gtk-rs-lgpl-docs")
-- 
2.41.0