From 89aed714c2990d74618c28605629350525572fee Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:48:47 +0100 Subject: [PATCH 25/29] gnu: Add rust-glib-sys-0.14. * gnu/packages/crates-gtk.scm (rust-glib-sys-0.14): New variable. --- gnu/packages/crates-gtk.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 001bbff378..f017366ba2 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1520,6 +1520,29 @@ (define-public rust-system-deps-3 "Discover and configure system dependencies from declarative dependencies in Cargo.toml") (license (list license:expat license:asl2.0)))) +(define-public rust-glib-sys-0.14 + (package + (name "rust-glib-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bjlymn3fw4g8slij6iiggaipknf9072mr2qm3i4a91199an078w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-3)))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings to libglib-2.0") + (description "FFI bindings to libglib-2.0") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0