Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ 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 ]; };}