Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
46 lines
991 B
Nix
46 lines
991 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "wyoming-faster-whisper";
|
|
version = "2.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rhasspy";
|
|
repo = "wyoming-faster-whisper";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-G46ycjpRu4MD00FiBM1H0DrPpXaaPlZ8yeoyZ7WYD48=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"faster-whisper"
|
|
"wyoming"
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
faster-whisper
|
|
wyoming
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"wyoming_faster_whisper"
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/rhasspy/wyoming-faster-whisper/releases/tag/v${version}";
|
|
description = "Wyoming Server for Faster Whisper";
|
|
homepage = "https://github.com/rhasspy/wyoming-faster-whisper";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|