diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 62bd1f291517..9c17a6897e42 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/development/python-modules/pyzhuyin/default.nix b/pkgs/development/python-modules/pyzhuyin/default.nix new file mode 100644 index 000000000000..522d9595c434 --- /dev/null +++ b/pkgs/development/python-modules/pyzhuyin/default.nix @@ -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 ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fe4512be9f7e..e71c89c0aef8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };