diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-01 16:13:02 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:35:41 +0300 |
commit | 62e9ca27927faa9d630f6f8fbf1c824a71092712 (patch) | |
tree | 249a66d60f413bb359c7029834b8a10b13a4b7ae | |
parent | 62c961d311a46e810c31a524e09e6dca068e90b4 (diff) | |
download | guix-62e9ca27927faa9d630f6f8fbf1c824a71092712.tar.gz guix-62e9ca27927faa9d630f6f8fbf1c824a71092712.zip |
gnu: Add rust-gdk-pixbuf-0.17.
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-0.17): New variable.
(rust-gdk-pixbuf-0.15): Inherit from rust-gdk-pixbuf-0.17.
-rw-r--r-- | gnu/packages/crates-gtk.scm | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9f1732a68e..a5dcc62e18 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -508,27 +508,27 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-gdk-pixbuf-0.15 +(define-public rust-gdk-pixbuf-0.17 (package (name "rust-gdk-pixbuf") - (version "0.15.11") + (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16k1z21r76m620z61kfmgid1n6s8dnxpa4zlrppcr6dhr2fdsf5d")))) + (base32 "05q7ajsp2z8xi355h26k7lvq7n3lj9xm61vhn045g3238v46npb9")))) (build-system cargo-build-system) (arguments - `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` - #:tests? #f + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.15) - ("rust-gio" ,rust-gio-0.15) - ("rust-glib" ,rust-glib-0.15) - ("rust-libc" ,rust-libc-0.2)) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.17) + ("rust-gio" ,rust-gio-0.17) + ("rust-glib" ,rust-glib-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs @@ -537,9 +537,33 @@ (list gdk-pixbuf)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the GdkPixbuf library") - (description "Rust bindings for the GdkPixbuf library") + (description "Rust bindings for the @code{GdkPixbuf} library") (license license:expat))) +(define-public rust-gdk-pixbuf-0.15 + (package + (inherit rust-gdk-pixbuf-0.17) + (name "rust-gdk-pixbuf") + (version "0.15.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk-pixbuf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16k1z21r76m620z61kfmgid1n6s8dnxpa4zlrppcr6dhr2fdsf5d")))) + (arguments + `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` + #:tests? #f + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.15) + ("rust-gio" ,rust-gio-0.15) + ("rust-glib" ,rust-glib-0.15) + ("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.14 (package (inherit rust-gdk-pixbuf-0.15) |