guix-patches
[Top][All Lists]
Advanced

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

[bug#74432] [PATCH 08/10] gnu: Add rust-gtk4-macros-0.4.


From: Divya Ranjan
Subject: [bug#74432] [PATCH 08/10] gnu: Add rust-gtk4-macros-0.4.
Date: Wed, 11 Dec 2024 01:23:04 +0000

* gnu/packages/crates-gtk.scm (rust-gtk4-macros-0.4): New variable.

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 3646bc9a8c..7272c55689 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -4277,6 +4277,37 @@ (define-public rust-gtk4-macros-0.7
                                    ("rust-gtk4" ,rust-gtk4-0.7)
                                    ("rust-trybuild2" ,rust-trybuild2-1))))))
 
+(define-public rust-gtk4-macros-0.4
+  (package
+    (name "rust-gtk4-macros")
+    (version "0.4.10")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "gtk4-macros" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0v42i8xpg9f84iq1d0k2sb7vh94n9v9rk7i7iq3579wi9ra0pfka"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-anyhow" ,rust-anyhow-1)
+         ("rust-proc-macro-crate"
+          ,rust-proc-macro-crate-1)
+         ("rust-proc-macro-error"
+          ,rust-proc-macro-error-1)
+         ("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quick-xml" ,rust-quick-xml-0.22)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))))
+    (home-page "https://gtk-rs.org/gtk4-rs";)
+    (synopsis "Macros helpers for GTK 4 bindings")
+    (description
+      "This package provides Macros helpers for GTK 4 bindings.")
+    (license license:expat)))
+
 (define-public rust-gtk4-sys-0.8
   (package
     (name "rust-gtk4-sys")
-- 
2.46.0






reply via email to

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