wyoming-piper: 2.0.0 -> 2.1.1
https://github.com/rhasspy/wyoming-piper/blob/v2.1.2/CHANGELOG.md
This commit is contained in:
@@ -42,6 +42,20 @@ in
|
||||
options = {
|
||||
enable = mkEnableOption "Wyoming Piper server";
|
||||
|
||||
zeroconf = {
|
||||
enable = mkEnableOption "zeroconf discovery" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
name = mkOption {
|
||||
type = str;
|
||||
default = "piper";
|
||||
description = ''
|
||||
The advertised name for zeroconf discovery.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
voice = mkOption {
|
||||
type = str;
|
||||
example = "en-us-ryan-medium";
|
||||
@@ -95,10 +109,6 @@ in
|
||||
apply = toString;
|
||||
};
|
||||
|
||||
streaming = mkEnableOption "audio streaming on sentence boundaries" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
useCUDA = mkOption {
|
||||
type = bool;
|
||||
default = pkgs.config.cudaSupport;
|
||||
@@ -168,8 +178,9 @@ in
|
||||
"--noise-w-scale"
|
||||
options.noiseWidth
|
||||
]
|
||||
++ lib.optionals options.streaming [
|
||||
"--streaming"
|
||||
++ lib.optionals options.zerconf.enable [
|
||||
"--zeroconf"
|
||||
options.zeroconf.name
|
||||
]
|
||||
++ lib.optionals options.useCUDA [
|
||||
"--use-cuda"
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "wyoming-piper";
|
||||
version = "2.0.0";
|
||||
version = "2.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "wyoming-piper";
|
||||
rev = "a9bedf7947b6813807caa9eba22c745cad68e5c1";
|
||||
hash = "sha256-Ld+UZguvtVig+g4hepLnC0PEYU/yST4cpI5bLfeTVkw=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-j6QvGChAkASKdD+4XqIwC6UWdhi5oMDfYmSk6kvRrNE=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
|
||||
Reference in New Issue
Block a user