depot/third_party/nixpkgs/pkgs/development/libraries/rnnoise-plugin/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

25 lines
707 B
Nix

{ stdenv, SDL2, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "rnnoise-plugin";
version = "0.91";
src = fetchFromGitHub {
owner = "werman";
repo = "noise-suppression-for-voice";
rev = "v${version}";
sha256 = "11pwisbcks7g0mdgcrrv49v3ci1l6m26bbb7f67xz4pr1hai5dwc";
};
buildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
meta = with stdenv.lib; {
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;
maintainers = with maintainers; [ panaeon henrikolsson ];
};
}