aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-03-02 01:45:24 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:45 +0200
commit05db16fee632d1b72bfdf32ec16f7d7cc2843931 (patch)
tree2b7e830e74fa54ef3792d2cf9591dc2fc56c4b1c
parentba909c5f4eaaaa2082463671a8f6c66c9a8e8430 (diff)
battering: Add python-arabic-reshaper.
* battering/packages/python-xyz.scm (python-arabic-reshaper): New variable.
-rw-r--r--battering/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
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)))