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

From: Murilo <[email-masked]>
Date: Thu, 30 May 2024 12:17:55 -0300

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

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 6cf0933765..ae64aa3c09 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2533,6 +2533,31 @@ (define-public rust-gtk-layer-shell-0.6
     (description "Save gir-generated wrapper for gtk-layer-shell")
     (license license:expat)))
 
+(define-public rust-gtk-layer-shell-sys-0.6
+  (package
+    (name "rust-gtk-layer-shell-sys")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gtk-layer-shell-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0np75cvsk3jb78aq4lwngxj8hz96kdar7bpnd88jjdgwmpxbqm2p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-system-deps" ,rust-system-deps-6)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-gtk-sys" ,rust-gtk-sys-0.17)
+                       ("rust-glib-sys" ,rust-glib-sys-0.17)
+                       ("rust-gdk-sys" ,rust-gdk-sys-0.17))))
+    (home-page
+     "https://github.com/pentamassiv/gtk-layer-shell-gir/tree/main/gtk-layer-shell-sys")
+    (synopsis "Unsave gir-generated FFI bindings for gtk-layer-shell")
+    (description "Unsave gir-generated FFI bindings 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