From 74a257aae5211b1d56e4686cdbdf7fe172ac1332 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:05 +0100 Subject: [PATCH 06/29] gnu: Add rust-pango-0.14. * gnu/packages/crates-gtk.scm (rust-pango-0.14): New variable. --- gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 16cb156f9f..8c2bf3ba15 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1019,6 +1019,33 @@ (define-public rust-graphene-rs-0.14 (synopsis "Rust bindings for the Graphene library") (description "Rust bindings for the Graphene library") (license license:expat))) + +(define-public rust-pango-0.14 + (package + (name "rust-pango") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pango-sys" ,rust-pango-sys-0.14)))) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Pango library") + (description "Rust bindings for the Pango library") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0