python313Packages.noisereduce: init at 3.0.3
Noise reduction using spectral gating (speech, bioacoustics, audio, time-domain signals https://github.com/timsainb/noisereduce
This commit is contained in:
parent
d0d8ab7e3c
commit
faaffe3701
52
pkgs/development/python-modules/noisereduce/default.nix
Normal file
52
pkgs/development/python-modules/noisereduce/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
joblib,
|
||||
matplotlib,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
scipy,
|
||||
setuptools,
|
||||
torch,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "noisereduce";
|
||||
version = "3.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timsainb";
|
||||
repo = "noisereduce";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CMXbl+9L01rtsD8BZ3nNomacsChy/1EGdUdWz7Ytbjk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
joblib
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
tqdm
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
PyTorch = [ torch ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "noisereduce" ];
|
||||
|
||||
meta = {
|
||||
description = "Noise reduction using spectral gating (speech, bioacoustics, audio, time-domain signals";
|
||||
homepage = "https://github.com/timsainb/noisereduce";
|
||||
changelog = "https://github.com/timsainb/noisereduce/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@ -10467,6 +10467,8 @@ self: super: with self; {
|
||||
|
||||
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
|
||||
|
||||
noisereduce = callPackage ../development/python-modules/noisereduce { };
|
||||
|
||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||
|
||||
nominal = callPackage ../development/python-modules/nominal { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user