diff options
author | Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es> | 2023-11-28 22:13:05 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:42 +0200 |
commit | 62bff41a514e60b64c56ffdc7ac612a07a6b4860 (patch) | |
tree | 2d0701256d2bb4c695c05e21dc7e2887efc03a36 /gnu/packages | |
parent | 2618c2f7d48bf613b24ecab08813e5fa75636f91 (diff) | |
download | guix-62bff41a514e60b64c56ffdc7ac612a07a6b4860.tar.gz |
gnu: Add rust-gtk4-macros-0.7.
* gnu/packages/crates-gtk.scm (rust-gtk4-macros-0.7): New variable. Change-Id: I57e2afbca5ba60e9690a2aabdcbd4e9320df02e8 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 74bad58580..6afeda0de8 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2599,6 +2599,39 @@ library.") (license license:expat))) +(define-public rust-gtk4-macros-0.7 + (package + (name "rust-gtk4-macros") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bw3cchiycf7dw1bw4p8946gv38azxy05a5w0ndgcmxnz6fc8znm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Failed to initialize GTK + #: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.30) + ("rust-quote" ,rust-quote-1) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-trybuild2" ,rust-trybuild2-1)))) + (native-inputs (list pkg-config)) + (inputs (list gdk-pixbuf gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Macros helpers for GTK 4 bindings") + (description "Macros helpers for GTK 4 bindings.") + (license license:expat))) + (define-public rust-gtk4-sys-0.7 (package (name "rust-gtk4-sys") |