From 0d668d78a09c3bbbb8e7725f9942f3ccb2ebc801 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 27 Jan 2025 02:15:35 +0100 Subject: [PATCH 1/2] voicevox-engine: fix with poetry-core >=2.0 See https://python-poetry.org/blog/announcing-poetry-2.0.0#consistent-include-behavior --- pkgs/by-name/vo/voicevox-engine/make-installable.patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vo/voicevox-engine/make-installable.patch b/pkgs/by-name/vo/voicevox-engine/make-installable.patch index 6cc3b04ad05b..ba1c7a00cb56 100644 --- a/pkgs/by-name/vo/voicevox-engine/make-installable.patch +++ b/pkgs/by-name/vo/voicevox-engine/make-installable.patch @@ -2,7 +2,7 @@ diff --git a/pyproject.toml b/pyproject.toml index fa23446..6a7705c 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -40,7 +40,15 @@ use_parentheses = true +@@ -40,7 +40,20 @@ use_parentheses = true datas = "datas" # PyInstaller's argument [tool.poetry] @@ -12,7 +12,12 @@ index fa23446..6a7705c 100644 +authors = [] +description = "" +packages = [ { include = "voicevox_engine" } ] -+include = [ "resources/**/*", "run.py", "engine_manifest.json", "presets.yaml"] ++include = [ ++ { path = "resources/**/*", format = ["sdist", "wheel"] }, ++ { path = "run.py", format = ["sdist", "wheel"] }, ++ { path = "engine_manifest.json", format = ["sdist", "wheel"] }, ++ { path = "presets.yaml", format = ["sdist", "wheel"] } ++] + +[tool.poetry.scripts] +voicevox-engine = "run:main" From d89be71e9fc0ef097dbf88c02f29d264cb949d2a Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 27 Jan 2025 02:16:26 +0100 Subject: [PATCH 2/2] voicevox: 0.22.3 -> 0.22.4 --- pkgs/by-name/vo/voicevox/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vo/voicevox/package.nix b/pkgs/by-name/vo/voicevox/package.nix index a12fcef8e1c0..6f64d266a39a 100644 --- a/pkgs/by-name/vo/voicevox/package.nix +++ b/pkgs/by-name/vo/voicevox/package.nix @@ -15,13 +15,13 @@ buildNpmPackage rec { pname = "voicevox"; - version = "0.22.3"; + version = "0.22.4"; src = fetchFromGitHub { owner = "VOICEVOX"; repo = "voicevox"; tag = version; - hash = "sha256-6z+A4bJIDfN/K8IjEdt2TqEa/EDt4uQpGh+zSWfP74I="; + hash = "sha256-IOs3wBcFYpO4AHiWFOQWd5hp6EmwyA7Rcc8wjHKvYNQ="; }; patches = [