From c3cadb0d6135179f1b8634bcaffe8e45acd8db15 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 16:49:20 +0300 Subject: gnu: Add rust-ab-glyph-0.2. * gnu/packages/crates-io.scm (rust-ab-glyph-0.2): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0d03c5c7b2..779f567fff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -105,6 +105,31 @@ ;;; Please: Try to add new module packages in alphabetic order. ;;; +(define-public rust-ab-glyph-0.2 + (package + (name "rust-ab-glyph") + (version "0.2.21") + (source (origin + (method url-fetch) + (uri (crate-uri "ab-glyph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f8ak16r69rz55smb7vdxh603nsknr30gkayi5fqb0pmik3z242i")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests want font files. + #:cargo-inputs + (("rust-ab-glyph-rasterizer" ,rust-ab-glyph-rasterizer-0.1) + ("rust-libm" ,rust-libm-0.2) + ("rust-owned-ttf-parser" ,rust-owned-ttf-parser-0.19)))) + (home-page "https://github.com/alexheretic/ab-glyph") + (synopsis "API for rasterizing OpenType font glyphs") + (description + "This package provides an API for loading, scaling, positioning and +rasterizing OpenType font glyphs.") + (license license:asl2.0))) + (define-public rust-ab-glyph-rasterizer-0.1 (package (name "rust-ab-glyph-rasterizer") -- cgit v1.2.3