[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67515] [PATCH 88/91] gnu: Add rust-gtk4-0.7.
From: |
Sergio Pastor Pérez |
Subject: |
[bug#67515] [PATCH 88/91] gnu: Add rust-gtk4-0.7. |
Date: |
Tue, 28 Nov 2023 22:13:06 +0100 |
* gnu/packages/crates-gtk.scm (rust-gtk4-0.7): New variable.
Change-Id: I66d02cdc3c3ba14cca03859d39c2c09cdf071622
---
gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 1b8ddc7f6a..dbb118dca1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2436,6 +2436,39 @@ (define-public rust-gsk4-sys-0.7
(description "FFI bindings of GSK 4")
(license license:expat)))
+(define-public rust-gtk4-0.7
+ (package
+ (name "rust-gtk4")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hh8nzglmz94v1m1h6vy8z12m6fr7ia467ry0md5fa4p7sm53sss"))))
+ (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-field-offset" ,rust-field-offset-0.3)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+ ("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-graphene-rs" ,rust-graphene-rs-0.18)
+ ("rust-gsk4" ,rust-gsk4-0.7)
+ ("rust-gtk4-macros" ,rust-gtk4-macros-0.7)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.18))))
+ (native-inputs (list pkg-config glib gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings of the GTK 4 library")
+ (description "Rust bindings of the GTK 4 library")
+ (license license:expat)))
+
(define-public rust-gtk4-macros-0.7
(package
(name "rust-gtk4-macros")
--
2.41.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#67515] [PATCH 88/91] gnu: Add rust-gtk4-0.7.,
Sergio Pastor Pérez <=