2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
2023-11-16 04:20:00 +00:00
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "wyoming-piper";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.5.0";
|
2023-11-16 04:20:00 +00:00
|
|
|
pyproject = true;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rhasspy";
|
|
|
|
repo = "wyoming-piper";
|
2024-02-29 20:09:43 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-aI1CWtSpSPX1aK4UR/lsCQZQwNs7qOLKfatlSomJx1Q=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
2024-01-13 08:15:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"wyoming"
|
2023-11-16 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2023-07-15 17:15:38 +00:00
|
|
|
wyoming
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"wyoming_piper"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-07-01 15:47:52 +00:00
|
|
|
changelog = "https://github.com/rhasspy/wyoming-piper/v${version}/master/CHANGELOG.md";
|
2023-07-15 17:15:38 +00:00
|
|
|
description = "Wyoming Server for Piper";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "wyoming-piper";
|
2024-07-01 15:47:52 +00:00
|
|
|
homepage = "https://github.com/rhasspy/wyoming-piper";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|