From a8c752e02edf0afe53eb57adbb25cd37c3970666 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 18 Sep 2024 14:08:24 +0300 Subject: gnu: Add rust-cairo-sys-rs-0.19. * gnu/packages/crates-gtk.scm (rust-cairo-sys-rs-0.19): New variable. (rust-cairo-sys-rs-0.18): Inherit from rust-cairo-sys-rs-0.19. Change-Id: Ida85dd2167a1bd24de73283078b6032d18ae3095 --- gnu/packages/crates-gtk.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 4447a4e848..39d7797ac5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -350,23 +350,23 @@ (("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-cairo-sys-rs-0.18 +(define-public rust-cairo-sys-rs-0.19 (package (name "rust-cairo-sys-rs") - (version "0.18.2") + (version "0.19.2") (source (origin (method url-fetch) (uri (crate-uri "cairo-sys-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38")))) + (base32 "0r0yp0lph77lm4blrn6fvdmz2i3r8ibkkjg6nmwbvvv4jq8v6fzx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) - ("rust-winapi" ,rust-winapi-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.52) ("rust-x11" ,rust-x11-2)))) (native-inputs (list pkg-config)) (inputs (list cairo)) @@ -375,6 +375,25 @@ (description "This package provides FFI bindings to libcairo.") (license license:expat))) +(define-public rust-cairo-sys-rs-0.18 + (package + (inherit rust-cairo-sys-rs-0.19) + (name "rust-cairo-sys-rs") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cairo-sys-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38")))) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-x11" ,rust-x11-2)))))) + (define-public rust-cairo-sys-rs-0.17 (package (inherit rust-cairo-sys-rs-0.18) -- cgit v1.2.3