From 84ee4c8a3c24f3ec3cb6e3be4430fef35a6369b8 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:35 +0100 Subject: [PATCH 09/29] gnu: Add rust-pango-sys-0.14. * gnu/packages/crates-gtk.scm (rust-pango-sys-0.14): New variable. --- gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 6a05257c89..a3e96b07f3 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1098,6 +1098,31 @@ (define-public rust-system-deps-5 "Discover and configure system dependencies from declarative dependencies in Cargo.toml") (license (list license:expat license:asl2.0)))) +(define-public rust-pango-sys-0.14 + (package + (name "rust-pango-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.14) + ("rust-gobject-sys" ,rust-gobject-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 libpango-1.0") + (description "FFI bindings to libpango-1.0") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0