2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, SDL2, fetchFromGitHub, cmake }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rnnoise-plugin";
|
2020-11-15 13:44:38 +00:00
|
|
|
version = "0.91";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "werman";
|
|
|
|
repo = "noise-suppression-for-voice";
|
|
|
|
rev = "v${version}";
|
2020-11-15 13:44:38 +00:00
|
|
|
sha256 = "11pwisbcks7g0mdgcrrv49v3ci1l6m26bbb7f67xz4pr1hai5dwc";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "A real-time noise suppression plugin for voice based on Xiph's RNNoise";
|
|
|
|
homepage = "https://github.com/werman/noise-suppression-for-voice";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2020-11-30 08:33:03 +00:00
|
|
|
maintainers = with maintainers; [ panaeon henrikolsson ];
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|