python3Packages.speechbrain: 1.0.3 -> 1.1.0
Diff: https://github.com/speechbrain/speechbrain/compare/v1.0.3...v1.1.0 Changelog: https://github.com/speechbrain/speechbrain/releases/tag/v1.1.0
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -13,35 +12,27 @@
|
||||
joblib,
|
||||
numpy,
|
||||
packaging,
|
||||
sentencepiece,
|
||||
requests,
|
||||
scipy,
|
||||
sentencepiece,
|
||||
soundfile,
|
||||
torch,
|
||||
torchaudio,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "speechbrain";
|
||||
version = "1.0.3";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speechbrain";
|
||||
repo = "speechbrain";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-H45kTOIO6frbrRu+TP+udn1z60ZEcrShNB9iTCLInQs=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-98g9HSCD6ahsmCSKSKIY1okYOuzUqVuJO9N9WUiZMPk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/speechbrain/speechbrain/pull/2988
|
||||
(fetchpatch {
|
||||
name = "torchaudio-2.9-compat.patch";
|
||||
url = "https://github.com/speechbrain/speechbrain/commit/927530fa95e238fbc396000618e839a4a986dd7d.patch";
|
||||
excludes = [ "pyproject.toml" ];
|
||||
hash = "sha256-TJxBQLggX2ZHppUJwMcg9+A9r0r+D20XUfivBFW7y/U=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -50,22 +41,24 @@ buildPythonPackage rec {
|
||||
joblib
|
||||
numpy
|
||||
packaging
|
||||
sentencepiece
|
||||
requests
|
||||
scipy
|
||||
sentencepiece
|
||||
soundfile
|
||||
torch
|
||||
torchaudio
|
||||
tqdm
|
||||
];
|
||||
|
||||
doCheck = false; # requires sox backend
|
||||
|
||||
pythonImportsCheck = [ "speechbrain" ];
|
||||
|
||||
doCheck = false; # requires sox backend
|
||||
|
||||
meta = {
|
||||
description = "PyTorch-based Speech Toolkit";
|
||||
homepage = "https://speechbrain.github.io";
|
||||
changelog = "https://github.com/speechbrain/speechbrain/releases/tag/v${version}";
|
||||
changelog = "https://github.com/speechbrain/speechbrain/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user