From 1adb29f2cde037eedc42eace69ed298cce4b8846 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 20 Jan 2026 10:07:37 +0000 Subject: [PATCH] python3Packages.pocket-tts: 1.0.1 -> 1.0.2 Diff: https://github.com/kyutai-labs/pocket-tts/compare/v1.0.1...v1.0.2 Changelog: https://github.com/kyutai-labs/pocket-tts/releases/tag/v1.0.2 --- .../python-modules/pocket-tts/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pocket-tts/default.nix b/pkgs/development/python-modules/pocket-tts/default.nix index 2ef871f5428c..d8edaaba7539 100644 --- a/pkgs/development/python-modules/pocket-tts/default.nix +++ b/pkgs/development/python-modules/pocket-tts/default.nix @@ -22,18 +22,21 @@ typer, typing-extensions, uvicorn, + + # optional-dependencies + soundfile, }: buildPythonPackage (finalAttrs: { pname = "pocket-tts"; - version = "1.0.1"; + version = "1.0.2"; pyproject = true; src = fetchFromGitHub { owner = "kyutai-labs"; repo = "pocket-tts"; tag = "v${finalAttrs.version}"; - hash = "sha256-VFLpUsHnQYSr5RgNKJOX1TD30o1A8rG4cs2VeZWriaU="; + hash = "sha256-m//UCZEENE5bl9TV0rDCA3Th1TykvC5oZLay+f7lEr8="; }; build-system = [ @@ -62,6 +65,12 @@ buildPythonPackage (finalAttrs: { uvicorn ]; + optional-dependencies = { + audio = [ + soundfile + ]; + }; + pythonImportsCheck = [ "pocket_tts" ]; # All tests are failing as the model cannot be downloaded from the sandbox