diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-06 21:41:11 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:08 +0200 |
commit | 0cc8675e2989ec4ac8b1457e6e15c13110c08f54 (patch) | |
tree | 84a2b1d53cb0986d3c76542dd6947bea0f09b427 /gnu/packages/crates-gtk.scm | |
parent | eee8fa7a30082c2158187bb6a22640a87ff4075a (diff) | |
download | guix-0cc8675e2989ec4ac8b1457e6e15c13110c08f54.tar.gz guix-0cc8675e2989ec4ac8b1457e6e15c13110c08f54.zip |
gnu: Add rust-glib-macros-0.20.
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.20): New variable.
(rust-glib-macros-0.19): Inherit from rust-glib-macros-0.20.
Change-Id: I07a067580461208e78f059dbcfcde5c99e90554c
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9ef2ba62a7..2f078b3ea4 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1829,17 +1829,17 @@ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-glib-macros-0.19 +(define-public rust-glib-macros-0.20 (package (name "rust-glib-macros") - (version "0.19.9") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mzsh8jkg8vldvgvr9gsaidvn2myn5cbdn8a6m8rgbhlg8kv0aa4")))) + (base32 "1mqwhk5qnd9vbvsb335n1j6m5pbqnfycm7b3jxhhlwnm1kvqigx6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) @@ -1847,7 +1847,7 @@ ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)) - #:cargo-development-inputs (("rust-glib" ,rust-glib-0.19) + #:cargo-development-inputs (("rust-glib" ,rust-glib-0.20) ("rust-trybuild2" ,rust-trybuild2-1)))) (native-inputs (list pkg-config)) (inputs (list glib)) @@ -1857,6 +1857,27 @@ "This package provides Rust bindings for the GLib library, proc macros crate.") (license license:expat))) +(define-public rust-glib-macros-0.19 + (package + (inherit rust-glib-macros-0.20) + (name "rust-glib-macros") + (version "0.19.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mzsh8jkg8vldvgvr9gsaidvn2myn5cbdn8a6m8rgbhlg8kv0aa4")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-glib" ,rust-glib-0.19) + ("rust-trybuild2" ,rust-trybuild2-1)))))) + (define-public rust-glib-macros-0.18 (package (inherit rust-glib-macros-0.19) |