Subject: [PATCH 26/44] gnu: Add rust-gdkx11-sys-0.17.

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

* gnu/packages/crates-gtk.scm (rust-gdkx11-sys-0.17): New variable.

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index cb6bce0a23..d601fa3128 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1034,6 +1034,30 @@ (define-public rust-gdkx11-0.17
     (description "Rust bindings for the GDK X11 library")
     (license license:expat)))
 
+(define-public rust-gdkx11-sys-0.17
+  (package
+    (name "rust-gdkx11-sys")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdkx11-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h07l0hvkqgaq05002cv0rx63p5368qwzxbvf4bb8nqn1561gaka"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-x11" ,rust-x11-2)
+                       ("rust-system-deps" ,rust-system-deps-6)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-glib-sys" ,rust-glib-sys-0.17)
+                       ("rust-gdk-sys" ,rust-gdk-sys-0.17))))
+    (home-page "https://gtk-rs.org/")
+    (synopsis "FFI binding for libgdkx11")
+    (description "FFI binding for libgdkx11")
+    (license license:expat)))
+
 (define-public rust-gio-0.18
   (package
     (name "rust-gio")
-- 
2.41.0