Merge pull request #271591 from r-ryantm/auto-update/python310Packages.faster-whisper

python310Packages.faster-whisper: 0.9.0 -> 0.10.0
This commit is contained in:
Martin Weinelt 2023-12-02 15:35:10 +01:00 committed by GitHub
commit e04b06b604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;