python3Packages.wyoming: 1.6.1 -> 1.7.1; wyoming-piper: 1.5.4 -> 1.6.0 (#419745)
This commit is contained in:
@@ -96,6 +96,10 @@ in
|
||||
apply = toString;
|
||||
};
|
||||
|
||||
streaming = mkEnableOption "audio streaming on sentence boundaries" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
extraArgs = mkOption {
|
||||
type = listOf str;
|
||||
default = [ ];
|
||||
@@ -158,6 +162,9 @@ in
|
||||
"--noise-w"
|
||||
options.noiseWidth
|
||||
]
|
||||
++ lib.optionals options.streaming [
|
||||
"--streaming"
|
||||
]
|
||||
++ options.extraArgs
|
||||
);
|
||||
CapabilityBoundingSet = "";
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
python312Packages,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
# tensorflow-bin unsupported on Python 3.13
|
||||
python3Packages = python312Packages;
|
||||
in
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "wyoming-openwakeword";
|
||||
version = "1.10.0";
|
||||
@@ -16,7 +21,7 @@ python3Packages.buildPythonApplication rec {
|
||||
hash = "sha256-5suYJ+Z6ofVAysoCdHi5b5K0JTYaqeFZ32Cm76wC5LU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
build-systems = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
@@ -28,7 +33,7 @@ python3Packages.buildPythonApplication rec {
|
||||
"tflite-runtime-nightly"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dependencies = with python3Packages; [
|
||||
tensorflow-bin
|
||||
wyoming
|
||||
];
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "wyoming-piper";
|
||||
version = "1.5.3";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "wyoming-piper";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-yPGiOF9RXhW7zjvFMi1UCXLyrWiqhJTvvIAtkYb9kBg=";
|
||||
hash = "sha256-pVpCnrf/BnAeyfyf82i9Ga/2WQUs1qGceL9uJ99WddY=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@@ -25,6 +25,7 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
regex
|
||||
wyoming
|
||||
];
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wyoming";
|
||||
version = "1.6.1";
|
||||
version = "1.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "wyoming";
|
||||
tag = version;
|
||||
hash = "sha256-Q7e4YSvVHpjyJQwsXTfyzMA1DKi71xiVDKWGWTh1l6w=";
|
||||
hash = "sha256-jP2RLKjm79tb4lPbTp1zcDnRV0phn7I2qjxYpC6hqTM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user