me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-ab-glyph-0.2.

* gnu/packages/crates-io.scm (rust-ab-glyph-0.2): New variable.
master
Efraim Flashner 2023-04-24 16:49:20 +03:00
parent c89e95f5c6
commit c3cadb0d61
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 0 deletions

View File

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