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

whisper-cpp: 1.8.2 -> 1.8.3 (#481446)

parents b203a44b e0b7c678
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -74,13 +74,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
  pname = "whisper-cpp";
  version = "1.8.2";
  version = "1.8.3";

  src = fetchFromGitHub {
    owner = "ggml-org";
    repo = "whisper.cpp";
    tag = "v${finalAttrs.version}";
    hash = "sha256-OU5mDnLZHmtdSEN5u0syJcU91L+NCO45f9eG6OsgFfU=";
    hash = "sha256-TeS1lGKEzkHOoBemy/tMGtIsy0iouj9DTYIgTjUNcQk=";
  };

  # The upstream download script tries to download the models to the
@@ -158,9 +158,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
  ];

  postInstall = ''
    # Add "whisper-cpp" prefix before every command
    mv -v "$out/bin/"{quantize,whisper-quantize}

    install -v -D -m755 "$src/models/download-ggml-model.sh" "$out/bin/whisper-cpp-download-ggml-model"

    wrapProgram "$out/bin/whisper-cpp-download-ggml-model" \