aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-03-04 15:59:48 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:48 +0200
commit917fff7f20e9b1f556df28de731f91c473fbbf31 (patch)
tree53d432369a6380e0b7915214e9243d0ccdaf250f
parentb0dbf7af50861f6729947bcbf97bc12fe8aebd0e (diff)
battering: Add python-grapheme.
* battering/packages/python-xyz.scm (python-grapheme): 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 6102553..c530601 100644
--- a/battering/packages/python-xyz.scm
+++ b/battering/packages/python-xyz.scm
@@ -21,6 +21,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages rust-apps)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
@@ -864,3 +865,26 @@ library. Makes use of python 3.2's @code{concurrent.futures}.")
"This module acts as a webbrowser solving Cloudflare's Javascript
challenges.")
(license license:expat)))
+
+(define-public python-grapheme
+ (package
+ (name "python-grapheme")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "grapheme" version))
+ (sha256
+ (base32 "1jiwc3w05c8kh22s3zk7a8km8na3plqc5zimb2qcyxxy3grbkhj4"))))
+ (build-system python-build-system)
+ (native-inputs (list python-pytest
+ python-sphinx
+ python-sphinx-autobuild
+ python-twine))
+ (home-page "https://github.com/alvinlindstam/grapheme")
+ (synopsis "Python package for grapheme aware string handling")
+ (description "A Python package for working with user perceived
+characters. More specifically, string manipulation and calculation functions
+for working with grapheme cluster groups (graphemes) as defined by the Unicode
+Standard Annex #29.")
+ (license license:expat)))