gnu: Add python-pykakasi.

* gnu/packages/python-xyz.scm (python-pykakasi): New variable.

Change-Id: Iefd9276a6ce41036b4391cd29d84c7d9f5f59da4
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Kjartan Oli Agustsson 2025-05-28 10:46:24 +00:00 committed by Andrew Tropin
parent 41a61d5446
commit 840e2177c2
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -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")