Unverified Commit 5e281742 authored by FlameFlag's avatar FlameFlag
Browse files
parent 23ad1316
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  stdenv,
  cmake,
  git,
  apple-sdk_11,
  apple-sdk_13,
  ninja,
  fetchFromGitHub,
  SDL2,
@@ -47,7 +47,7 @@ let
    optionals
    ;

  darwinBuildInputs = [ apple-sdk_11 ];
  darwinBuildInputs = [ apple-sdk_13 ];

  cudaBuildInputs = with cudaPackages; [
    cuda_cccl # <nv/target>
@@ -73,13 +73,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
  pname = "whisper-cpp";
  version = "1.7.6";
  version = "1.8.0";

  src = fetchFromGitHub {
    owner = "ggml-org";
    repo = "whisper.cpp";
    tag = "v${finalAttrs.version}";
    hash = "sha256-dppBhiCS4C3ELw/Ckx5W0KOMUvOHUiisdZvkS7gkxj4=";
    hash = "sha256-6mEBhxZNAXu+Ya/jbI0G0tb6Wf5Wqz4KxPEZSrfsgv8=";
  };

  # The upstream download script tries to download the models to the
@@ -183,7 +183,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
    license = lib.licenses.mit;
    mainProgram = "whisper-cli";
    platforms = lib.platforms.all;
    broken = coreMLSupport;
    badPlatforms = optionals cudaSupport lib.platforms.darwin;
    maintainers = with lib.maintainers; [
      dit7ya