@@ -0,0 +1,25 @@
1+{ stdenv, SDL2, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "rnnoise-plugin";
5+ version = "0.9";
6+
7+ src = fetchFromGitHub {
8+ owner = "werman";
9+ repo = "noise-suppression-for-voice";
10+ rev = "v${version}";
11+ sha256 = "18bq5b50xw3d4r1ildinafpg3isb9y216430h4mm9wr3ir7h76a7";
12+ };
13+
14+ buildInputs = [ cmake ];
15+
16+ cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
17+
18+ meta = with stdenv.lib; {
19+ description = "A real-time noise suppression plugin for voice based on Xiph's RNNoise";
20+ homepage = "https://github.com/werman/noise-suppression-for-voice";
21+ license = licenses.gpl3;
22+ platforms = platforms.all;
23+ maintainers = with maintainers; [ panaeon ];
24+ };
25+}