From e84fa57dc0457fe1c3364237d7a30edf2b9df6e6 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:57 +0100 Subject: [PATCH 11/29] gnu: Add rust-gdk4-sys-0.3. * gnu/packages/crates-gtk.scm (rust-gdk4-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 81a8103847..9061532e8b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1148,6 +1148,36 @@ (define-public rust-graphene-sys-0.14 (description "FFI bindings to libgraphene-1.0") (license license:expat))) +(define-public rust-gdk4-sys-0.3 + (package + (name "rust-gdk4-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mf6igl7ziy57qzdkimk42qwcfla60fzwk93wjj9dyv9d7hg964l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14) + ("rust-gio-sys" ,rust-gio-sys-0.14) + ("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 GDK 4") + (description "FFI bindings of GDK 4") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0