python3Packages.pyzhuyin: init at 0.0.3 (#544934)

This commit is contained in:
Arne Keller
2026-07-24 16:39:47 +00:00
committed by GitHub
3 changed files with 53 additions and 0 deletions
+7
View File
@@ -29692,6 +29692,13 @@
githubId = 116078858;
keys = [ { fingerprint = "CDEA 7E04 69E3 0885 A754 4B05 0104 BC05 F41B 77B8"; } ];
};
vherrmann = {
name = "Valentin Herrmann";
email = "me@valentin-herrmann.de";
github = "vherrmann";
githubId = 50072577;
keys = [ { fingerprint = "309D A29B 4070 FDFD C01A 3AB4 9E60 CB44 5C4B BC4C"; } ];
};
videl = {
email = "thibaut.smith@mailbox.org";
github = "videl";
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
nix-update-script,
unittestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "pyzhuyin";
version = "0.0.3";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "rku1999";
repo = "python-zhuyin";
rev = "82c31bb89871e7567853406471c5849a9c2034f1";
hash = "sha256-xFY3Eww1i3n+4oCD2ZEVBCLcGNaX8bC0wS6ayXsPpcY=";
};
build-system = [
setuptools
];
pythonImportsCheck = [
"pyzhuyin"
];
nativeCheckInputs = [
unittestCheckHook
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Phonetic and Pinyin conversion tool";
homepage = "https://pypi.org/project/pyzhuyin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vherrmann ];
};
})
+2
View File
@@ -17174,6 +17174,8 @@ self: super: with self; {
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
pyzhuyin = callPackage ../development/python-modules/pyzhuyin { };
pyzipper = callPackage ../development/python-modules/pyzipper { };
pyzmq = callPackage ../development/python-modules/pyzmq { };