Merge pull request #243290 from GaetanLepage/speechbrain
python3Packages.speechbrain: init at 0.5.14
This commit is contained in:
commit
0c0ffd27fe
39
pkgs/development/python-modules/hyperpyyaml/default.nix
Normal file
39
pkgs/development/python-modules/hyperpyyaml/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, ruamel-yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hyperpyyaml";
|
||||
version = "1.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speechbrain";
|
||||
repo = "hyperpyyaml";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tC4kLJAY9MVgjWwU2Qu0rPCVDw7CjKVIciRZgYhnR9I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hyperpyyaml" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensions to YAML syntax for better python interaction";
|
||||
homepage = "https://github.com/speechbrain/HyperPyYAML";
|
||||
changelog = "https://github.com/speechbrain/HyperPyYAML/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
55
pkgs/development/python-modules/speechbrain/default.nix
Normal file
55
pkgs/development/python-modules/speechbrain/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, huggingface-hub
|
||||
, hyperpyyaml
|
||||
, joblib
|
||||
, lib
|
||||
, numpy
|
||||
, packaging
|
||||
, pythonOlder
|
||||
, sentencepiece
|
||||
, scipy
|
||||
, torch
|
||||
, torchaudio
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "speechbrain";
|
||||
version = "0.5.14";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speechbrain";
|
||||
repo = "speechbrain";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r1q7JO+H7ynfrzlihRTY0PtMGmvwm98BHUZV534ABXw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
huggingface-hub
|
||||
hyperpyyaml
|
||||
joblib
|
||||
numpy
|
||||
packaging
|
||||
sentencepiece
|
||||
scipy
|
||||
torch
|
||||
torchaudio
|
||||
tqdm
|
||||
];
|
||||
|
||||
doCheck = false; # requires sox backend
|
||||
|
||||
pythonImportsCheck = [ "speechbrain" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A PyTorch-based Speech Toolkit";
|
||||
homepage = "https://speechbrain.github.io";
|
||||
changelog = "https://github.com/speechbrain/speechbrain/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -4871,6 +4871,8 @@ self: super: with self; {
|
||||
|
||||
hyperopt = callPackage ../development/python-modules/hyperopt { };
|
||||
|
||||
hyperpyyaml = callPackage ../development/python-modules/hyperpyyaml { };
|
||||
|
||||
hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { };
|
||||
|
||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||
@ -11723,6 +11725,8 @@ self: super: with self; {
|
||||
|
||||
spectral-cube = callPackage ../development/python-modules/spectral-cube { };
|
||||
|
||||
speechbrain = callPackage ../development/python-modules/speechbrain { };
|
||||
|
||||
speedtest-cli = callPackage ../development/python-modules/speedtest-cli { };
|
||||
|
||||
speg = callPackage ../development/python-modules/speg { };
|
||||
|
Loading…
Reference in New Issue
Block a user