28 buildPythonPackage rec {
33 src = fetchFromGitHub {
36 rev = "refs/tags/v${version}";
37 hash = "sha256-6wfHJM2pg+y1qUfVF1VRG86G3CtQ+UNIwMXR8pPi2k4=";
42 src = ./ffmpeg-path.patch;
43 ffmpeg = ffmpeg-headless;
47 nativeBuildInputs = [ setuptools ];
49 propagatedBuildInputs = [
56 ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform triton) [ triton ];
68 # requires network access to download models
70 # requires NVIDIA drivers
71 "test_dtw_cuda_equivalence"
72 "test_median_filter_equivalence"
76 changelog = "https://github.com/openai/whisper/blob/v${version}/CHANGELOG.md";
77 description = "General-purpose speech recognition model";
78 mainProgram = "whisper";
79 homepage = "https://github.com/openai/whisper";
80 license = licenses.mit;
81 maintainers = with maintainers; [