python311Packages.webrtc-noise-gain: init at 1.2.0
Tiny wrapper around webrtc-audio-processing for noise suppression/auto gain only. https://github.com/rhasspy/webrtc-noise-gain
This commit is contained in:
parent
6c8832e2b8
commit
e75579e566
|
@ -0,0 +1,56 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
|
||||
# build-system
|
||||
, pybind11
|
||||
, setuptools
|
||||
|
||||
# native dependencies
|
||||
, abseil-cpp
|
||||
, darwin
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webrtc-noise-gain";
|
||||
version = "1.2.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "webrtc-noise-gain";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yHuCa2To9/9kD+tLG239I1aepuhcPUV4a4O1TQtBPlE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pybind11
|
||||
setuptools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
abseil-cpp
|
||||
] ++ lib.optionals (stdenv.isDarwin) [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"webrtc_noise_gain"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tiny wrapper around webrtc-audio-processing for noise suppression/auto gain only";
|
||||
homepage = "https://github.com/rhasspy/webrtc-noise-gain";
|
||||
changelog = "https://github.com/rhasspy/webrtc-noise-gain/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -13929,6 +13929,8 @@ self: super: with self; {
|
|||
|
||||
weboob = callPackage ../development/python-modules/weboob { };
|
||||
|
||||
webrtc-noise-gain = callPackage ../development/python-modules/webrtc-noise-gain { };
|
||||
|
||||
webrtcvad = callPackage ../development/python-modules/webrtcvad { };
|
||||
|
||||
websocket-client = callPackage ../development/python-modules/websocket-client { };
|
||||
|
|
Loading…
Reference in a new issue