depot/third_party/nixpkgs/pkgs/tools/audio/wyoming/piper.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

44 lines
916 B
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "wyoming-piper";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "wyoming-piper";
rev = "v${version}";
hash = "sha256-aI1CWtSpSPX1aK4UR/lsCQZQwNs7qOLKfatlSomJx1Q=";
};
nativeBuildInputs = with python3Packages; [
setuptools
];
pythonRelaxDeps = [
"wyoming"
];
propagatedBuildInputs = with python3Packages; [
wyoming
];
pythonImportsCheck = [
"wyoming_piper"
];
doCheck = false;
meta = with lib; {
changelog = "https://github.com/rhasspy/wyoming-piper/v${version}/master/CHANGELOG.md";
description = "Wyoming Server for Piper";
mainProgram = "wyoming-piper";
homepage = "https://github.com/rhasspy/wyoming-piper";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}