From 3e02bd1be573e6a5968dc2dd882889ba4f8a89a6 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 28 Feb 2025 11:02:39 +0100 Subject: battering: Add python-uharfbuzz. * battering/packages/python-xyz.scm (python-uharfbuzz): New variable. --- battering/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index 619cab9..547d354 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -339,3 +339,26 @@ declarative configuration.") (synopsis "Create standard barcodes with Python.") (description "This package provides a simple way to create barcodes in Python.") (license license:expat))) + +(define-public python-uharfbuzz + (package + (name "python-uharfbuzz") + (version "0.45.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "uharfbuzz" version)) + (sha256 + (base32 "19il53ghx6bp5nwbznvim4km9pm8dc7viq3iskx0iyc26shakhis")))) + ;; TODO: use system harfbuzz instead of the bundled one + (build-system pyproject-build-system) + (native-inputs (list python-cython + python-pkgconfig + python-setuptools + python-setuptools-scm + python-wheel)) + (home-page "https://github.com/trufont/uharfbuzz") + (synopsis "Harfbuzz Python bindings") + (description + "Streamlined Cython bindings for the harfbuzz shaping engine.") + (license license:asl2.0))) -- cgit v1.2.3