guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

442/475: gnu: Add rust-ab-glyph-0.2.


From: guix-commits
Subject: 442/475: gnu: Add rust-ab-glyph-0.2.
Date: Sun, 7 May 2023 12:48:42 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit c3cadb0d6135179f1b8634bcaffe8e45acd8db15
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:49:20 2023 +0300

    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(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]