diff mbox series

[bug#73956,PATCHv2,rust-team,17/27] gnu: Add rust-gdk-pixbuf-0.20.

Message ID 366efcdcd3af71fac6e3e0a60f59bd83a8a437fb.1730925691.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#73956,PATCHv2,rust-team,01/27] gnu: Add rust-cfg-expr-0.17. | expand

Commit Message

Giacomo Leidi Nov. 6, 2024, 8:41 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-0.20): New variable;
(rust-gdk-pixbuf-0.19): inherit from rust-gdk-pixbuf-0.20.

Change-Id: Icad085f2fdcb1221eb22d3afe620e0a3247bad59
---
 gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e93db8e7f6..897d96de3b 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -634,22 +634,22 @@  (define-public rust-gdk-0.12
        #:cargo-development-inputs
        (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
 
-(define-public rust-gdk-pixbuf-0.19
+(define-public rust-gdk-pixbuf-0.20
   (package
     (name "rust-gdk-pixbuf")
-    (version "0.19.8")
+    (version "0.20.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gdk-pixbuf" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "16c6kznkh3vi82843ays8awdm37fwjd1fblv6g3h64824shsnkk2"))))
+        (base32 "068vj60x1hbw0anhjvg2id3sr96d202wp18a4zc3f8z9m5qr1hn4"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.19)
-                       ("rust-gio" ,rust-gio-0.19)
-                       ("rust-glib" ,rust-glib-0.19)
+     `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.20)
+                       ("rust-gio" ,rust-gio-0.20)
+                       ("rust-glib" ,rust-glib-0.20)
                        ("rust-libc" ,rust-libc-0.2))
        #:cargo-development-inputs
        (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
@@ -661,6 +661,26 @@  (define-public rust-gdk-pixbuf-0.19
      "This package provides Rust bindings for the @code{GdkPixbuf} library.")
     (license license:expat)))
 
+(define-public rust-gdk-pixbuf-0.19
+  (package
+    (inherit rust-gdk-pixbuf-0.20)
+    (name "rust-gdk-pixbuf")
+    (version "0.19.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk-pixbuf" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16c6kznkh3vi82843ays8awdm37fwjd1fblv6g3h64824shsnkk2"))))
+    (arguments
+     `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.19)
+                       ("rust-gio" ,rust-gio-0.19)
+                       ("rust-glib" ,rust-glib-0.19)
+                       ("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
 (define-public rust-gdk-pixbuf-0.18
   (package
     (inherit rust-gdk-pixbuf-0.19)