guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#73956] [PATCH rust-team 03/27] gnu: Add rust-glib-sys-0.20.


From: Giacomo Leidi
Subject: [bug#73956] [PATCH rust-team 03/27] gnu: Add rust-glib-sys-0.20.
Date: Wed, 23 Oct 2024 01:30:48 +0200

* gnu/packages/crates-gtk.scm (rust-glib-sys-0.20): New variable;
(rust-glib-sys-0.19): inherit from rust-glib-sys-0.20.

Change-Id: I8191a5a11ac63d20b6e69366469c58bbefef66e2
---
 gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b46b0945b0..0a13970983 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1948,24 +1948,24 @@ (define-public rust-glib-macros-0.10
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-glib-sys-0.19
+(define-public rust-glib-sys-0.20
   (package
     (name "rust-glib-sys")
-    (version "0.19.8")
+    (version "0.20.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "glib-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "19f4q8x77vd7c1d9ikw492yskq5kpd7k04qb8xnh1c427a6w2baw"))))
+        (base32 "0avm6dr3q2xvlad7fcbq7an7qasaqf3k480dn19s99ngi1fwm7jz"))))
     (build-system cargo-build-system)
     (arguments
      `(;; XXX: Tests are sensitive to the version of glib, even though
        ;; the library supports a wide range.  Skip for now.
        #:tests? #f
        #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
-                       ("rust-system-deps" ,rust-system-deps-6))
+                       ("rust-system-deps" ,rust-system-deps-7))
        #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
                                    ("rust-tempfile" ,rust-tempfile-3))))
     (native-inputs (list pkg-config))
@@ -1975,6 +1975,27 @@ (define-public rust-glib-sys-0.19
     (description "This package provides FFI bindings to libglib-2.0.")
     (license license:expat)))
 
+(define-public rust-glib-sys-0.19
+  (package
+    (inherit rust-glib-sys-0.20)
+    (name "rust-glib-sys")
+    (version "0.19.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glib-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19f4q8x77vd7c1d9ikw492yskq5kpd7k04qb8xnh1c427a6w2baw"))))
+    (arguments
+     `(;; XXX: Tests are sensitive to the version of glib, even though
+       ;; the library supports a wide range.  Skip for now.
+       #:tests? #f
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-system-deps" ,rust-system-deps-6))
+       #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-glib-sys-0.18
   (package
     (inherit rust-glib-sys-0.19)
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]