aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-06 21:41:20 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:09 +0200
commitf80bd44bdc1cbebe1a626d7c482a69ecfdc6d6f2 (patch)
treebca90b01a35f9db117439a07e05d1b7416f4d183 /gnu/packages/crates-gtk.scm
parent603c308bda935e5a1150719a55315c9f322464f2 (diff)
downloadguix-f80bd44bdc1cbebe1a626d7c482a69ecfdc6d6f2.tar.gz
guix-f80bd44bdc1cbebe1a626d7c482a69ecfdc6d6f2.zip
gnu: Add rust-gio-0.20.
* gnu/packages/crates-gtk.scm (rust-gio-0.20): New variable. (rust-gio-0.19): Inherit from rust-gio-0.20. Change-Id: I152073e6b8d9892bd58e1f5ffc0b56b7ff562058
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm43
1 files changed, 38 insertions, 5 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index ad713fe83d..69ec950a03 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1155,17 +1155,17 @@
(description "This package provides FFI bindings of GDK 4.")
(license license:expat)))
-(define-public rust-gio-0.19
+(define-public rust-gio-0.20
(package
(name "rust-gio")
- (version "0.19.8")
+ (version "0.20.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "gio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1znz5ngfvv3gbndf6lzz3hs27hlb8ysls4axlfccrzvkscbz2jac"))))
+ (base32 "0g6l7a1n63a8myjpcv10mn214w0ypijf6rq812b3wn09zgl9kndq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -1176,8 +1176,8 @@
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-io" ,rust-futures-io-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-gio-sys" ,rust-gio-sys-0.19)
- ("rust-glib" ,rust-glib-0.19)
+ ("rust-gio-sys" ,rust-gio-sys-0.20)
+ ("rust-glib" ,rust-glib-0.20)
("rust-libc" ,rust-libc-0.2)
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
("rust-smallvec" ,rust-smallvec-1)
@@ -1194,6 +1194,39 @@
(description "This package provides Rust bindings for the Gio library.")
(license license:expat)))
+(define-public rust-gio-0.19
+ (package
+ (inherit rust-gio-0.20)
+ (name "rust-gio")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1znz5ngfvv3gbndf6lzz3hs27hlb8ysls4axlfccrzvkscbz2jac"))))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=settings::test::bool_set_get"
+ "--skip=settings::test::string_get")
+ #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serial-test" ,rust-serial-test-3))))))
+
(define-public rust-gio-0.18
(package
(inherit rust-gio-0.19)