1 { stdenv, lib, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation (rec {
5 version = "2021-01-22";
7 src = fetchFromGitHub {
10 rev = "1cbdbcf1283499bbb2230a6b0f126eb9b236defd";
11 sha256 = "1y0rzgmvy8bf9a431garpm2w177s6ajgf79y5ymw4yb0pik57rwb";
14 nativeBuildInputs = [ autoreconfHook ];
17 install -Dt $out/bin examples/.libs/rnnoise_demo
21 description = "Recurrent neural network for audio noise reduction";
22 homepage = "https://people.xiph.org/~jm/demo/rnnoise/";
23 license = licenses.bsd3;
24 maintainers = [ maintainers.nh2 ];
25 mainProgram = "rnnoise_demo";
26 platforms = platforms.all;