guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit 1fe2dd339e192ba3f9fe49696a6c719d2feb8b27
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Tue Jul 28 09:17:33 2026 +0200

    gnu: Add python-uharfbuzz.
    
    * gnu/packages/fontutils.scm (python-uharfbuzz): New variable.
---
 gnu/packages/fontutils.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 4eecfd0a85f..0b96e6a5204 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -636,6 +636,37 @@ converts any cubic curves to quadratic.  The most useful 
function is probably
 @code{fonts_to_quadratic}.")
     (license license:asl2.0)))
 
+(define-public python-uharfbuzz
+  (package
+    (name "python-uharfbuzz")
+    (version "0.56.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/trufont/uharfbuzz";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "180c4ayj7h9vqpyz2kqivbzz9df0mmbwn4bwnsvm49n7ggpz6jlx"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:phases
+                     #~(modify-phases %standard-phases
+                         (add-after 'unpack 'use-system-libs
+                           (lambda _ (setenv "USE_SYSTEM_LIBS" "1"))))))
+    (inputs (list freetype glib graphite2 harfbuzz))
+    (native-inputs (list pkg-config
+                         python-cython
+                         python-pkgconfig
+                         python-setuptools
+                         python-setuptools-scm
+                         python-pytest))
+    (home-page "https://github.com/trufont/uharfbuzz";)
+    (synopsis "Cython bindings for the Harfbuzz")
+    (description
+     "This package provides Cython bindings for the Harfbuzz shaping engine.")
+    (license license:asl2.0)))
+
 (define-public python-ufo2ft
   (package
     (name "python-ufo2ft")

Reply via email to