summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-22 11:25:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:08 +0200
commite20b534474517b7b3ab53288e48e98722ba7df28 (patch)
treee6888176082089cd369bc370bd52a575a5e81f17
parentd61ba12f4213c80d7417c73e8009233e3b6a8f55 (diff)
downloadguix-e20b534474517b7b3ab53288e48e98722ba7df28.tar.gz
gnu: rust-gio-0.18: Update to 0.18.4.
* gnu/packages/crates-gtk.scm (rust-gio-0.18): Update to 0.18.4.
[arguments]: Don't skip the tests.  Add cargo-test-flags.
[cargo-development-inputs]: Replace rust-serial-test-1 with 2.

Change-Id: I3afbd83310e942e6826a26cd2b183631b288aace
-rw-r--r--gnu/packages/crates-gtk.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 265f179cd8..51f02788d3 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1011,17 +1011,20 @@
 (define-public rust-gio-0.18
   (package
     (name "rust-gio")
-    (version "0.18.2")
+    (version "0.18.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gio" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1caryyr1sciqd25np4v4701nkb7h59gqzpwaiqjrp6g5x222y1ap"))))
+        (base32 "0wsc6mnx057s4ailacg99dwgna38dbqli5x7a6y9rdw75x9qzz6l"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+     `(#: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)
@@ -1038,7 +1041,7 @@
        (("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-1))))
+        ("rust-serial-test" ,rust-serial-test-2))))
     (native-inputs (list pkg-config))
     (inputs (list glib))
     (home-page "https://gtk-rs.org/")