From 035165db507e5267026abaea52ff792e24865255 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:47:48 +0100 Subject: [PATCH 18/29] gnu: Add rust-gobject-sys-0.14. * gnu/packages/crates-gtk.scm (rust-gobject-sys-0.14): New variable. --- gnu/packages/crates-gtk.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index ce8c8da3c5..44794a50e5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1337,6 +1337,30 @@ (define-public rust-field-offset-0.3 (description "Safe pointer-to-member implementation") (license (list license:expat license:asl2.0)))) +(define-public rust-gobject-sys-0.14 + (package + (name "rust-gobject-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gobject-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-3)))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings to libgobject-2.0") + (description "FFI bindings to libgobject-2.0") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0