From 0e0e8d8ff4bc8b947ce0908e0e1e79b23db66754 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 25 Jun 2020 03:26:05 +0100 Subject: feat(3p/nsfv): Add derivation for NSFV This is a real-time noise suppression plugin for pulseaudio. I want to cancel other people's noise with this. Change-Id: Ia3031435e0db35eb80b626ab60d7a62b892d295d Reviewed-on: https://cl.tvl.fyi/c/depot/+/576 Reviewed-by: Kane York --- third_party/nsfv/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 third_party/nsfv/default.nix (limited to 'third_party/nsfv/default.nix') diff --git a/third_party/nsfv/default.nix b/third_party/nsfv/default.nix new file mode 100644 index 000000000000..26d5488c42ca --- /dev/null +++ b/third_party/nsfv/default.nix @@ -0,0 +1,23 @@ +# Real-time Noise Suppression Plugin (for PulseAudio). +# +# This should be invoked as a "ladspa" plugin for pulseaudio. +# +# https://github.com/werman/noise-suppression-for-voice +{ pkgs, lib, ... }: + +pkgs.stdenv.mkDerivation { + name = "noise-suppression-for-voice"; + + nativeBuildInputs = [ pkgs.cmake ]; + src = pkgs.fetchFromGitHub { + owner = "werman"; + repo = "noise-suppression-for-voice"; + rev = "cd5c79378ab9819cd85f4fd108f3c77a40fd66ac"; + sha256 = "10zh1al1bys60sjdd4p72qbp9jfb5wq1zaw33b595psgwmqpbckq"; + }; + + meta = with lib; { + description = "Real-time noise suppression LADSPA plugin"; + license = licenses.gpl3; + }; +} -- cgit 1.4.1