@@ -2789,8 +2789,35 @@ (define-public rust-gtk-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gtk3-macros-0.17
+ (package
+ (name "rust-gtk3-macros")
+ (version "0.17.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk3-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pnrn8wgri525k5ijp64xp3whp61p6jga94zpl89r8y9hbb89yry"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-syn" ,rust-syn-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-anyhow" ,rust-anyhow-1))))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GTK 3 library")
+ (description "This package provides Rust bindings for the GTK 3
+library.")
+ (license license:expat)))
+
(define-public rust-gtk3-macros-0.14
(package
+ (inherit rust-gtk3-macros-0.17)
(name "rust-gtk3-macros")
(version "0.14.0")
(source
@@ -2800,7 +2827,6 @@ (define-public rust-gtk3-macros-0.14
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0yavfirn2iw9nsxik6m7s2cdxdrl5l5jfbiwn0zl85y1dnlivpi1"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@@ -2811,12 +2837,7 @@ (define-public rust-gtk3-macros-0.14
("rust-proc-macro-error" ,rust-proc-macro-error-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GTK 3 library")
- (description "This package provides Rust bindings for the GTK 3
-library.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-gtk4-0.7
(package