Subject: [rust-team 2/9] gnu: crates-gtk: rust-atk-sys: Update to 0.18

From: Divya Ranjan <[email-masked]>
Date: Tue, 19 Nov 2024 07:32:10 +0000

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

Change-Id: I8eb3c1b0df359f77e13e88126b811ab9e49f3cbc
---
 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 35b213159e..bdec0f475e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -71,6 +71,31 @@ (define-public rust-atk-sys-0.14
     (description "FFI bindings to libatk-1")
     (license license:expat)))
 
+(define-public rust-atk-sys-0.18
+  (package
+    (inherit rust-atk-sys-0.14)
+    (name "rust-atk-sys")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atk-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0280k0xw21n3zzri8ynk5mxy7v1mk9d506l962lhngp3j1yhn7i5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-system-deps" ,rust-system-deps-6))
+       #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://gtk-rs.org/")
+    (synopsis "FFI bindings to libatk-1")
+    (description "This package provides FFI bindings to libatk-1.")
+    (license license:expat)))
+
 (define-public rust-atk-sys-0.10
   (package
     (inherit rust-atk-sys-0.14)
-- 
2.46.0