python310Packages.faster-whisper: 0.9.0 -> 0.10.0

https://github.com/SYSTRAN/faster-whisper/releases/tag/0.10.0
This commit is contained in:
R. Ryantm 2023-12-02 03:24:20 +00:00 committed by Martin Weinelt
parent eb18da27b9
commit 28517a7a6b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -15,21 +15,16 @@
buildPythonPackage rec {
pname = "faster-whisper";
version = "0.9.0";
version = "0.10.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "guillaumekln";
repo = "faster-whisper";
rev = "refs/tags/v${version}";
hash = "sha256-kHXX5Z4r7+lFRBtTCsPy9DILwsk3T1mcBzmJnCrKTdk=";
rev = "refs/tags/${version}";
hash = "sha256-qcpPQv5WoUkT92/TZ+MMq452FgPNcm3ZZ+ZNc0btOGE=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "onnxruntime>=1.14,<2" "onnxruntime"
'';
propagatedBuildInputs = [
av
ctranslate2
@ -54,7 +49,7 @@ buildPythonPackage rec {
'';
meta = with lib; {
changelog = "https://github.com/guillaumekln/faster-whisper/releases/tag/v${version}";
changelog = "https://github.com/guillaumekln/faster-whisper/releases/tag/${version}";
description = "Faster Whisper transcription with CTranslate2";
homepage = "https://github.com/guillaumekln/faster-whisper";
license = licenses.mit;