nixpkgs/pkgs/development/libraries/rnnoise-plugin/default.nix

26 lines
707 B
Nix
Raw Normal View History

2020-07-19 16:34:54 +01:00
{ stdenv, SDL2, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "rnnoise-plugin";
2020-11-12 00:27:09 +00:00
version = "0.91";
2020-07-19 16:34:54 +01:00
src = fetchFromGitHub {
owner = "werman";
repo = "noise-suppression-for-voice";
rev = "v${version}";
2020-11-12 00:27:09 +00:00
sha256 = "11pwisbcks7g0mdgcrrv49v3ci1l6m26bbb7f67xz4pr1hai5dwc";
2020-07-19 16:34:54 +01:00
};
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 ];
2020-07-19 16:34:54 +01:00
};
}