{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "filter-audio-${version}";
  version = "0.0.1";

  src = fetchFromGitHub {
    owner = "irungentoo";
    repo ="filter_audio";
    rev = "v${version}";
    sha256 = "1dv4pram317c1w97cjsv9f6r8cdxhgri7ib0v364z08pk7r2avfn";
  };

  doCheck = false;

  makeFlags = "PREFIX=$(out)";

  meta = with stdenv.lib; {
    description = "Lightweight audio filtering library made from webrtc code";
    license = licenses.bsd3;
    maintainers = with maintainers; [ jgeerds ];
    platforms = platforms.all;
  };
}


