diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 8bbce44fcd..301a9da634 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -305,8 +305,34 @@ (define-public rust-cairo-rs-0.8 (("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 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (native-inputs (list pkg-config)) + (inputs (list cairo)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libcairo") + (description "This package provides FFI bindings to libcairo.") + (license license:expat))) + (define-public rust-cairo-sys-rs-0.17 (package + (inherit rust-cairo-sys-rs-0.18) (name "rust-cairo-sys-rs") (version "0.17.10") (source @@ -316,22 +342,13 @@ (define-public rust-cairo-sys-rs-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ccw4z59dx60khngx79g64c75abfwy7wnq57h2z82j7vn5k0q7b9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11" ,rust-x11-2)))) - (native-inputs - (list pkg-config)) - (inputs - (list cairo)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libcairo") - (description "This package provides FFI bindings to libcairo.") - (license license:expat))) + ("rust-x11" ,rust-x11-2)))))) (define-public rust-cairo-sys-rs-0.15 (package