From e622d62f4aad29e390feb9e3053d780ed4a10f61 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Oct 2023 16:13:30 +0300 Subject: gnu: Add rust-gdk-pixbuf-sys-0.17. * gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-sys-0.17): New variable. (rust-gdk-pixbuf-sys-0.15): Inherit from rust-gdk-pixbuf-sys-0.17. --- gnu/packages/crates-gtk.scm | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'gnu/packages/crates-gtk.scm') diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index a5dcc62e18..ca441e6e0a 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -639,25 +639,23 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-gdk-pixbuf-sys-0.15 +(define-public rust-gdk-pixbuf-sys-0.17 (package (name "rust-gdk-pixbuf-sys") - (version "0.15.10") + (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19q2qjrzmmgc7bbs59sk6k0sv3xhpmnk9a2h0cajfr95g19jy2ql")))) + (base32 "1jvh91lzanr1a8c5h6ya8i4jzx7ifs8mjxjnmg8dfriw24yfr1cj")))) (build-system cargo-build-system) (arguments - `(;#:skip-build? - ;#t - #:cargo-inputs - (("rust-gio-sys" ,rust-gio-sys-0.15) - ("rust-glib-sys" ,rust-glib-sys-0.15) - ("rust-gobject-sys" ,rust-gobject-sys-0.15) + `(#:cargo-inputs + (("rust-gio-sys" ,rust-gio-sys-0.17) + ("rust-glib-sys" ,rust-glib-sys-0.17) + ("rust-gobject-sys" ,rust-gobject-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs @@ -672,6 +670,29 @@ (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.") (license license:expat))) +(define-public rust-gdk-pixbuf-sys-0.15 + (package + (inherit rust-gdk-pixbuf-sys-0.17) + (name "rust-gdk-pixbuf-sys") + (version "0.15.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk-pixbuf-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19q2qjrzmmgc7bbs59sk6k0sv3xhpmnk9a2h0cajfr95g19jy2ql")))) + (arguments + `(#:cargo-inputs + (("rust-gio-sys" ,rust-gio-sys-0.15) + ("rust-glib-sys" ,rust-glib-sys-0.15) + ("rust-gobject-sys" ,rust-gobject-sys-0.15) + ("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-gdk-pixbuf-sys-0.14 (package (inherit rust-gdk-pixbuf-sys-0.15) -- cgit v1.2.3