diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-01 12:09:23 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-01 12:13:44 +0100 |
| commit | 18dbf1571b9f0b12893f85f36640d6a498e2f0d7 (patch) | |
| tree | 5005363228d561b5a6858f9ecf8879d78f7fcaeb /gnu/packages/python-xyz.scm | |
| parent | 3cca86b369fb5168175fa45f6ae6665157fd508a (diff) | |
gnu: Add python-grapheme.
* gnu/packages/python-xyz.scm (python-grapheme): New variable.
Change-Id: Ia24a261eae6f36d97022e0c78a0b492b90131054
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3eb193c5c1..fff24de1bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -949,6 +949,36 @@ part of @url{https://github.com/hgrecco/pint, Pint}, the Python units package. ") (license license:bsd-3))) +(define-public python-grapheme + ;; 0.6.0 has not git tag, PyPI has no tests. use the latest commit on master + ;; branch. + (let ((commit "66f07ca02fc64a9ea2f9b4ad66593b226d473adb") + (revision "0")) + (package + (name "python-grapheme") + (version (git-version "0.6.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alvinlindstam/grapheme") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fqw6iymg7s8q1pfwijx0awcj1j55jppx7hfa5ci7y0c7x4jc8v9")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools)) + (home-page "https://github.com/alvinlindstam/grapheme") + (synopsis "Unicode grapheme helpers") + (description + "This package provides a functionality for working with user perceived +characters. More specifically, string manipulation and calculation functions +for working with grapheme cluster groups (graphemes) as defined by the +@url{http://unicode.org/reports/tr29/, Unicode Standard Annex #29}.") + (license license:expat)))) + (define-public python-halo (package (name "python-halo") |
