guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 840e2177c274e126785ca73676e75471235a165b
Author: Kjartan Oli Agustsson <[email protected]>
AuthorDate: Wed May 28 10:46:24 2025 +0000
gnu: Add python-pykakasi.
* gnu/packages/python-xyz.scm (python-pykakasi): New variable.
Change-Id: Iefd9276a6ce41036b4391cd29d84c7d9f5f59da4
Signed-off-by: Andrew Tropin <[email protected]>
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 11cd14e3dd..fcff7dbe34 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31473,6 +31473,38 @@ structure.")
for YAML and JSON.")
(license license:expat)))
+(define-public python-pykakasi
+ (package
+ (name "python-pykakasi")
+ (version "2.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pykakasi" version))
+ (sha256
+ (base32 "18dhcw7myw5idajnfynjbvqxmyf9m0cygfwsavbbi7zmcf72l1gs"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-flags ''("-k" "not test_aozora")))
+ (propagated-inputs (list python-deprecated python-importlib-resources
+ python-jaconv))
+ (native-inputs (list python-coverage
+ python-py-cpuinfo
+ python-pytest
+ python-pytest-benchmark
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
+ (home-page "https://codeberg.org/miurahr/pykakasi")
+ (synopsis "Kana kanji simple inversion library")
+ (description
+ "pykakasi is a Python Natural Language Processing @acronym{NLP, Natural
+Language Processing} library to transliterate hiragana, katakana and
+kanji (Japanese text) into rÅmaji (Latin/Roman alphabet). It can handle
+characters in NFC form.
+
+Its algorithms are based on the kakasi library, which is written in C.")
+ (license license:gpl3+)))
+
(define-public python-dbus-python
(package
(name "python-dbus-python")