guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69257] [PATCH rust-team v2 105/117] WIP: gnu: Add rust-gdk4-x11-0.7


From: Herman Rimm
Subject: [bug#69257] [PATCH rust-team v2 105/117] WIP: gnu: Add rust-gdk4-x11-0.7.
Date: Sun, 28 Apr 2024 20:58:49 +0200

* gnu/packages/crates-gtk.scm (rust-gdk4-x11-0.7): Add variable.

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 549828b578..b7f311bc53 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1038,6 +1038,34 @@ (define-public rust-gdk4-wayland-0.7
       "This package provides Rust bindings of the GDK 4 Wayland library.")
     (license license:expat)))
 
+(define-public rust-gdk4-x11-0.7
+  (package
+    (name "rust-gdk4-x11")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk4-x11" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+                       ("rust-gdk4-x11-sys" ,rust-gdk4-x11-sys-0.7)
+                       ("rust-gio" ,rust-gio-0.18)
+                       ("rust-glib" ,rust-glib-0.18)
+                       ("rust-khronos-egl" ,rust-khronos-egl-5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-x11" ,rust-x11-2))
+       #:cargo-development-inputs
+       (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+    (home-page "https://gtk-rs.org/gtk4-rs";)
+    (synopsis "Rust bindings of the GDK4 X11 library")
+    (description
+      "This package provides Rust bindings of the GDK4 X11 library.")
+    (license license:expat)))
+
 (define-public rust-gio-0.18
   (package
     (name "rust-gio")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]