Merge pull request #243290 from GaetanLepage/speechbrain

python3Packages.speechbrain: init at 0.5.14

authored by Sandro and committed by GitHub 0c0ffd27 e5df6872

+98
+39
pkgs/development/python-modules/hyperpyyaml/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , lib 4 + , pytestCheckHook 5 + , pyyaml 6 + , ruamel-yaml 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "hyperpyyaml"; 11 + version = "1.2.1"; 12 + format = "setuptools"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "speechbrain"; 16 + repo = "hyperpyyaml"; 17 + rev = "refs/tags/v${version}"; 18 + hash = "sha256-tC4kLJAY9MVgjWwU2Qu0rPCVDw7CjKVIciRZgYhnR9I="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + pyyaml 23 + ruamel-yaml 24 + ]; 25 + 26 + nativeCheckInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + pythonImportsCheck = [ "hyperpyyaml" ]; 31 + 32 + meta = with lib; { 33 + description = "Extensions to YAML syntax for better python interaction"; 34 + homepage = "https://github.com/speechbrain/HyperPyYAML"; 35 + changelog = "https://github.com/speechbrain/HyperPyYAML/releases/tag/v${version}"; 36 + license = licenses.asl20; 37 + maintainers = with maintainers; [ GaetanLepage ]; 38 + }; 39 + }
+55
pkgs/development/python-modules/speechbrain/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , huggingface-hub 4 + , hyperpyyaml 5 + , joblib 6 + , lib 7 + , numpy 8 + , packaging 9 + , pythonOlder 10 + , sentencepiece 11 + , scipy 12 + , torch 13 + , torchaudio 14 + , tqdm 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "speechbrain"; 19 + version = "0.5.14"; 20 + format = "setuptools"; 21 + 22 + disabled = pythonOlder "3.7"; 23 + 24 + src = fetchFromGitHub { 25 + owner = "speechbrain"; 26 + repo = "speechbrain"; 27 + rev = "refs/tags/v${version}"; 28 + hash = "sha256-r1q7JO+H7ynfrzlihRTY0PtMGmvwm98BHUZV534ABXw="; 29 + }; 30 + 31 + propagatedBuildInputs = [ 32 + huggingface-hub 33 + hyperpyyaml 34 + joblib 35 + numpy 36 + packaging 37 + sentencepiece 38 + scipy 39 + torch 40 + torchaudio 41 + tqdm 42 + ]; 43 + 44 + doCheck = false; # requires sox backend 45 + 46 + pythonImportsCheck = [ "speechbrain" ]; 47 + 48 + meta = with lib; { 49 + description = "A PyTorch-based Speech Toolkit"; 50 + homepage = "https://speechbrain.github.io"; 51 + changelog = "https://github.com/speechbrain/speechbrain/releases/tag/v${version}"; 52 + license = licenses.asl20; 53 + maintainers = with maintainers; [ GaetanLepage ]; 54 + }; 55 + }
+4
pkgs/top-level/python-packages.nix
··· 4871 4871 4872 4872 hyperopt = callPackage ../development/python-modules/hyperopt { }; 4873 4873 4874 + hyperpyyaml = callPackage ../development/python-modules/hyperpyyaml { }; 4875 + 4874 4876 hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { }; 4875 4877 4876 4878 hypothesis = callPackage ../development/python-modules/hypothesis { }; ··· 11722 11724 speaklater3 = callPackage ../development/python-modules/speaklater3 { }; 11723 11725 11724 11726 spectral-cube = callPackage ../development/python-modules/spectral-cube { }; 11727 + 11728 + speechbrain = callPackage ../development/python-modules/speechbrain { }; 11725 11729 11726 11730 speedtest-cli = callPackage ../development/python-modules/speedtest-cli { }; 11727 11731