diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-06 21:41:12 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:08 +0200 |
commit | a1febfa2afa204164ce4919cf4c07e03134925b2 (patch) | |
tree | 689ca1dbd7ccf5f18b1ceb765d095eb49e7a6706 /gnu/packages/crates-gtk.scm | |
parent | 0cc8675e2989ec4ac8b1457e6e15c13110c08f54 (diff) | |
download | guix-a1febfa2afa204164ce4919cf4c07e03134925b2.tar.gz guix-a1febfa2afa204164ce4919cf4c07e03134925b2.zip |
gnu: Add rust-glib-0.20.
* gnu/packages/crates-gtk.scm (rust-glib-0.20): New variable.
(rust-glib-0.19): Inherit from rust-glib-0.20.
Change-Id: I3b25b24922d7fed60376c82f21f3c3ff16a1cc55
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 51 |
1 files changed, 44 insertions, 7 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 2f078b3ea4..6e6068ca2d 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1586,17 +1586,17 @@ (description "File format checker in Rust.") (license license:expat))) -(define-public rust-glib-0.19 +(define-public rust-glib-0.20 (package (name "rust-glib") - (version "0.19.9") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i2ak1scmzfmfxbm2dr146jl4y9mafxf1ald05jr8iimy5wh4r9r")))) + (base32 "1zw5xd2772vakf95pslvzmmnzg6f9wnj9vkcpkyzj2v5sg31xkxd")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -1608,10 +1608,10 @@ ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-gio-sys" ,rust-gio-sys-0.19) - ("rust-glib-macros" ,rust-glib-macros-0.19) - ("rust-glib-sys" ,rust-glib-sys-0.19) - ("rust-gobject-sys" ,rust-gobject-sys-0.19) + ("rust-gio-sys" ,rust-gio-sys-0.20) + ("rust-glib-macros" ,rust-glib-macros-0.20) + ("rust-glib-sys" ,rust-glib-sys-0.20) + ("rust-gobject-sys" ,rust-gobject-sys-0.20) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) @@ -1629,6 +1629,43 @@ (description "This package provides Rust bindings for the GLib library.") (license license:expat))) +(define-public rust-glib-0.19 + (package + (inherit rust-glib-0.20) + (name "rust-glib") + (version "0.19.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i2ak1scmzfmfxbm2dr146jl4y9mafxf1ald05jr8iimy5wh4r9r")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=structured_log") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-task" ,rust-futures-task-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.19) + ("rust-glib-macros" ,rust-glib-macros-0.19) + ("rust-glib-sys" ,rust-glib-sys-0.19) + ("rust-gobject-sys" ,rust-gobject-sys-0.19) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-trybuild2" ,rust-trybuild2-1)))))) + (define-public rust-glib-0.18 (package (inherit rust-glib-0.19) |