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 <rikingcoding@gmail.com>
This commit is contained in:
Vincent Ambo 2020-06-25 03:26:05 +01:00 committed by tazjin
parent 9d6f586533
commit 0e0e8d8ff4

23
third_party/nsfv/default.nix vendored Normal file
View file

@ -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;
};
}