This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ab12eac31b gnu: whisper-cpp: Simplify package.
ab12eac31b is described below
commit ab12eac31b0f5d304f3caefcc1f11c7a0e3a9be6
Author: Cayetano Santos <[email protected]>
AuthorDate: Sat Mar 21 16:51:01 2026 +0100
gnu: whisper-cpp: Simplify package.
* gnu/packages/machine-learning.scm (whisper-cpp)[arguments]: Remove
’patch-paths #:phase.
[inputs]: Remove spirv-headers, spirv-tools, vulkan-headers, and
vulkan-loader.
[native-inputs]: Remove git and shaderc; add git-minimal/pinned.
Change-Id: Iaa6eab995e4ea014ca31d89dabd030c4a5e15d31
---
gnu/packages/machine-learning.scm | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index af81195576..5b024fcdf5 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -958,13 +958,6 @@ independently to be able to run a LLaMA model.")
"-DWHISPER_USE_SYSTEM_GGML=ON")
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute*
- "ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp"
- (("\"/bin/sh\"")
- (string-append
- "\"" (search-input-file inputs "/bin/sh") "\"")))))
#$@(if (target-32bit?)
'((add-after 'unpack 'skip-failing-tests
(lambda _
@@ -985,15 +978,9 @@ independently to be able to run a LLaMA model.")
(("\\$\\{VAD_TEST\\} PROPERTIES LABELS \"base;en\"")
"${VAD_TEST} PROPERTIES DISABLED true")))))))
(native-inputs
- (list git pkg-config shaderc))
+ (list git-minimal/pinned pkg-config))
(inputs
- (list ffmpeg
- ggml
- sdl2
- spirv-headers
- spirv-tools
- vulkan-headers
- vulkan-loader))
+ (list ffmpeg ggml sdl2))
(synopsis "OpenAI's Whisper model in C/C++")
(description
"This package is a high-performance inference of OpenAI's