summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:49:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:40 +0300
commitc3cadb0d6135179f1b8634bcaffe8e45acd8db15 (patch)
tree3464a38c4c6e1de1739a628ec8ba2d73cca31c09 /gnu
parentc89e95f5c60dcfdb49cae333118f6fc1f3bbff79 (diff)
downloadguix-c3cadb0d6135179f1b8634bcaffe8e45acd8db15.tar.gz
gnu: Add rust-ab-glyph-0.2.
* gnu/packages/crates-io.scm (rust-ab-glyph-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
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")