python312Packages.pyspeex-noise: init at 1.0.2

This commit is contained in:
Robert Schütz 2024-08-31 20:40:27 -07:00
parent e3a4a6438c
commit e6cdf02736
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
pybind11,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyspeex-noise";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "pyspeex-noise";
rev = "refs/tags/${version}";
hash = "sha256-XtLA5yVVCZdpALPu3fx+U+aaA729Vs1UeOJsIm6/S+k=";
};
build-system = [
pybind11
setuptools
];
pythonImportsCheck = [ "pyspeex_noise" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/rhasspy/pyspeex-noise/blob/${src.rev}/CHANGELOG.md";
description = "Noise suppression and automatic gain with speex";
homepage = "https://github.com/rhasspy/pyspeex-noise";
license = with lib.licenses; [
mit # pyspeex-noise
bsd3 # speex (vendored)
];
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -12129,6 +12129,8 @@ self: super: with self; {
pyspcwebgw = callPackage ../development/python-modules/pyspcwebgw { };
pyspeex-noise = callPackage ../development/python-modules/pyspeex-noise { };
pyspellchecker = callPackage ../development/python-modules/pyspellchecker { };
pyspf = callPackage ../development/python-modules/pyspf { };