guix-patches
[Top][All Lists]
Advanced

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

[bug#67515] [PATCH 83/91] gnu: Add rust-gdk4-0.7.


From: Sergio Pastor Pérez
Subject: [bug#67515] [PATCH 83/91] gnu: Add rust-gdk4-0.7.
Date: Tue, 28 Nov 2023 22:13:01 +0100

* gnu/packages/crates-graphics.scm (rust-gdk4-0.7): New variable.

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

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ce73611433..b12fbda66a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -918,6 +918,34 @@ (define-public rust-gbm-0.12
     (description "libgbm bindings for rust")
     (license license:expat)))
 
+(define-public rust-gdk4-0.7
+  (package
+    (name "rust-gdk4")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk4" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xiacc63p73apr033gjrb9dsk0y4yxnsljwfxbwfry41snd03nvy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+       #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
+                       ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+                       ("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+                       ("rust-gio" ,rust-gio-0.18)
+                       ("rust-gl" ,rust-gl-0.14)
+                       ("rust-glib" ,rust-glib-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-pango" ,rust-pango-0.18))))
+    (native-inputs (list pkg-config glib gtk gtk+))
+    (home-page "https://gtk-rs.org/";)
+    (synopsis "Rust bindings of the GDK 4 library")
+    (description "Rust bindings of the GDK 4 library")
+    (license license:expat)))
+
 (define-public rust-gdk4-sys-0.7
   (package
     (name "rust-gdk4-sys")
-- 
2.41.0






reply via email to

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