gnu: Add python-fontmath.

* gnu/packages/fontutils.scm (python-fontmath): New variable.
This commit is contained in:
Maxim Cournoyer 2022-04-01 16:40:43 -04:00
parent 2c7e76ed14
commit dc5cf89205
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -57,6 +57,7 @@ (define-module (gnu packages fontutils)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages webkit)
@ -131,6 +132,30 @@ (define-public opentype-sanitizer
them as it goes.")
(license license:bsd-3)))
(define-public python-fontmath
(package
(name "python-fontmath")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "fontMath" version ".zip"))
(sha256
(base32 "001756zxn2386dm4svgqjgw5026hvyacxl09b2qlk7s06phpcphw"))))
(build-system python-build-system)
(propagated-inputs (list python-fonttools))
(native-inputs
(list python-setuptools-scm
python-pytest
python-pytest-runner
python-wheel
unzip))
(home-page "https://github.com/robotools/fontMath")
(synopsis "Fast font mathematical operations library")
(description "This package provides a set of objects for performing fast
font, glyph, etc. mathematical operations on font data.")
(license license:expat)))
(define-public python-opentype-sanitizer
(package
(name "python-opentype-sanitizer")