From 05db16fee632d1b72bfdf32ec16f7d7cc2843931 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Sun, 2 Mar 2025 01:45:24 +0100 Subject: battering: Add python-arabic-reshaper. * battering/packages/python-xyz.scm (python-arabic-reshaper): New variable. --- battering/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'battering') diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index daa8837..a9b0c5f 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -565,3 +565,27 @@ than using DOM.") (description "PyHanko is a tool for signing and stamping PDF files.") (license license:expat))) + +(define-public python-arabic-reshaper + (package + (name "python-arabic-reshaper") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mpcabd/python-arabic-reshaper/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00wd6h4fj40ia9rsnr28g0vyijbrsnkx24q7am07k9pglkjq5i5r")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/mpcabd/python-arabic-reshaper/") + (synopsis + "Reconstruct Arabic sentences to be used in applications that don't +support Arabic.") + (description + "This library reconstructs Arabic sentences to be used in applications +that do not support Arabic text.") + (license license:expat))) -- cgit v1.2.3