nixpkgs/pkgs/tools/audio/wyoming/faster-whisper.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
994 B
Nix
Raw Normal View History

{ lib
, python3Packages
2023-11-02 16:30:34 +00:00
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "wyoming-faster-whisper";
version = "2.0.0";
2023-11-02 16:30:34 +00:00
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "wyoming-faster-whisper";
rev = "refs/tags/v${version}";
hash = "sha256-CeFSxL2Mn9lgboKghbteCl6VMTqruJgrI0io+TdaV5k=";
};
nativeBuildInputs = with python3Packages; [
2023-11-02 16:30:34 +00:00
setuptools
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"wyoming"
2023-11-02 16:30:34 +00:00
];
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";
2023-11-02 16:30:34 +00:00
homepage = "https://github.com/rhasspy/wyoming-faster-whisper";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}