python313Packages.noisereduce: init at 3.0.3 (#433574)
This commit is contained in:
commit
369e8e3ba1
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -10477,6 +10477,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
|
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
|
||||||
|
|
||||||
|
noisereduce = callPackage ../development/python-modules/noisereduce { };
|
||||||
|
|
||||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||||
|
|
||||||
nominal = callPackage ../development/python-modules/nominal { };
|
nominal = callPackage ../development/python-modules/nominal { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user