Loading pkgs/development/python-modules/kokoro/default.nix 0 → 100644 +59 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, fetchPypi, hatchling, huggingface-hub, lib, loguru, misaki, numpy, pytestCheckHook, torch, transformers, }: buildPythonPackage { pname = "kokoro"; version = "0-unstable-2025-06-16"; pyproject = true; src = fetchFromGitHub { owner = "hexgrad"; repo = "kokoro"; rev = "2668b2e279d0f94977995230e523b0183763f30e"; hash = "sha256-slXbn0W1632Hak6Z0ofF0gyavxRLoxS4fyPQLHSapjA="; }; build-system = [ hatchling ]; dependencies = [ huggingface-hub loguru misaki numpy torch transformers ] ++ misaki.optional-dependencies.en; # kokoro depends on misaki[en] nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # See https://github.com/hexgrad/kokoro/issues/225 "test_different_window_sizes" "test_stft_reconstruction" ]; pythonImportsCheck = [ "kokoro" ]; meta = { description = "Open-weight TTS model with 82 million parameters"; homepage = "https://github.com/hexgrad/kokoro"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ samuela ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7630,6 +7630,8 @@ self: super: with self; { knx-frontend = callPackage ../development/python-modules/knx-frontend { }; kokoro = callPackage ../development/python-modules/kokoro { }; kombu = callPackage ../development/python-modules/kombu { }; konnected = callPackage ../development/python-modules/konnected { }; Loading Loading
pkgs/development/python-modules/kokoro/default.nix 0 → 100644 +59 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, fetchPypi, hatchling, huggingface-hub, lib, loguru, misaki, numpy, pytestCheckHook, torch, transformers, }: buildPythonPackage { pname = "kokoro"; version = "0-unstable-2025-06-16"; pyproject = true; src = fetchFromGitHub { owner = "hexgrad"; repo = "kokoro"; rev = "2668b2e279d0f94977995230e523b0183763f30e"; hash = "sha256-slXbn0W1632Hak6Z0ofF0gyavxRLoxS4fyPQLHSapjA="; }; build-system = [ hatchling ]; dependencies = [ huggingface-hub loguru misaki numpy torch transformers ] ++ misaki.optional-dependencies.en; # kokoro depends on misaki[en] nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # See https://github.com/hexgrad/kokoro/issues/225 "test_different_window_sizes" "test_stft_reconstruction" ]; pythonImportsCheck = [ "kokoro" ]; meta = { description = "Open-weight TTS model with 82 million parameters"; homepage = "https://github.com/hexgrad/kokoro"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ samuela ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7630,6 +7630,8 @@ self: super: with self; { knx-frontend = callPackage ../development/python-modules/knx-frontend { }; kokoro = callPackage ../development/python-modules/kokoro { }; kombu = callPackage ../development/python-modules/kombu { }; konnected = callPackage ../development/python-modules/konnected { }; Loading