From dbff67d0e67b1ab30158c084d1bd4b38430972be Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:44:03 +0100 Subject: [PATCH 03/29] gnu: Add rust-gsk4-sys-0.3. * gnu/packages/crates-gtk.scm (rust-gsk4-sys-0.3): New variable. --- gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index c8e411c481..fe0d5c755e 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -937,6 +937,36 @@ (define-public rust-gtk4-macros-0.3 (synopsis "Macros helpers for GTK 4 bindings") (description "Macros helpers for GTK 4 bindings") (license license:expat))) + +(define-public rust-gsk4-sys-0.3 + (package + (name "rust-gsk4-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gsk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1da56n3zydbpw557mx588vbm7f2sinc9scslk4ps0k93f3757ahk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.3) + ("rust-glib-sys" ,rust-glib-sys-0.14) + ("rust-gobject-sys" ,rust-gobject-sys-0.14) + ("rust-graphene-sys" ,rust-graphene-sys-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.14) + ("rust-system-deps" ,rust-system-deps-5)))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings of GSK 4") + (description "FFI bindings of GSK 4") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0