Unverified Commit 719f19e8 authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

voicevox{,-engine}: 0.25.0 -> 0.25.1; voicevox-core: update modelVersion 0.16.1 -> 0.16.3 (#477191)

parents 9b8997e9 1477a4cc
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -21,8 +21,11 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "voicevox-core";

  # Update only together with voicevox and voicevox-engine
  # nixpkgs-update: no auto update
  version = "0.16.2";
  modelVersion = "0.16.1";
  passthru.modelVersion = "0.16.3";

  src = fetchFromGitHub {
    owner = "VOICEVOX";
@@ -61,13 +64,13 @@ rustPlatform.buildRustPackage (finalAttrs: {

  passthru.models = stdenv.mkDerivation {
    pname = "voicevox-models";
    version = finalAttrs.modelVersion;
    version = finalAttrs.passthru.modelVersion;

    src = fetchFromGitHub {
      owner = "VOICEVOX";
      repo = "voicevox_vvm";
      tag = finalAttrs.modelVersion;
      hash = "sha256-OY+xuvNjgmH/bxhL61XJZ3JVOxyec6kifkoGD4eN7HA=";
      tag = finalAttrs.passthru.modelVersion;
      hash = "sha256-VqSNEHJV/g9R+4XknRGi/s4C7/uXEGCK5/NC2XwiPcI=";
    };

    nativeBuildInputs = [ python3 ];
@@ -77,6 +80,10 @@ rustPlatform.buildRustPackage (finalAttrs: {

      # convert multipart zip archive into single file
      python scripts/merge_vvm.py

      # Exclude VOICEVOX Nemo models similar to upstream's CI, as voicevox-engine doesn't use them
      rm vvms/n*

      mkdir -p "$out"
      cp vvms/* "$out"

+3 −3
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@

python3Packages.buildPythonApplication rec {
  pname = "voicevox-engine";
  version = "0.25.0";
  version = "0.25.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "VOICEVOX";
    repo = "voicevox_engine";
    tag = version;
    hash = "sha256-ZthTXHXzexbffWoi8AKJrgX9/gd7fmKbYpCwuZZiQWQ=";
    hash = "sha256-4pZs5f6Fe4kHIKcyww1eq9uRTf7rk5KAr/00H8aH9qA=";
  };

  patches = [
@@ -103,7 +103,7 @@ python3Packages.buildPythonApplication rec {
      owner = "VOICEVOX";
      repo = "voicevox_resource";
      tag = version;
      hash = "sha256-yj3bwEB1qeoXAf3Dr02FF/HB6g7toAd2VUmR2937yzc=";
      hash = "sha256-YaUVlZnpxu/IhLrp1XdcxDyus7DRhyzu4VKfabTsPUY=";
    };

    pyopenjtalk = python3Packages.callPackage ./pyopenjtalk.nix { };
+2 −2
Original line number Diff line number Diff line
@@ -22,13 +22,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "voicevox";
  version = "0.25.0";
  version = "0.25.1";

  src = fetchFromGitHub {
    owner = "VOICEVOX";
    repo = "voicevox";
    tag = finalAttrs.version;
    hash = "sha256-s8+uHwqxK9my/850C52VT5kshlGrHOOHtopUlsowNeI=";
    hash = "sha256-l9aFuhOylcQrHa+0R0P4Jy5iL2gA6xJsUJt8KvWIMuM=";
  };

  patches = [