Commit b2492bc4 authored by Orivej Desh's avatar Orivej Desh
Browse files

rnnoise: 0.0.1 (2017-10-10) -> 2019-04-24

parent e3df3a16
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation (rec {
  name = "rnnoise-${version}";
  version = "0.0.1";
  pname = "rnnoise";
  version = "2019-04-24";

  src = fetchFromGitHub {
    owner = "xiph";
    repo = "rnnoise";
    rev = "91ef401f4c3536c6de999ac609262691ec888c4c";
    sha256 = "1h2ibg67gfcwnpvkq1rx0sngf9lk9j8pqsmsmmk5hclvrr2lp3yb";
    rev = "9acc1e5a633e0961a5895a73204df24744f199b6";
    sha256 = "17xip4z0skpzas7wrdyi87j46mbz9jncpj554m8654bqpkxis0pr";
  };

  nativeBuildInputs = [ autoreconfHook ];

  postInstall = ''
    install -Dt $out/bin examples/.libs/rnnoise_demo
  '';

  meta = with lib; {
    homepage = https://people.xiph.org/~jm/demo/rnnoise/;
    description = "Recurrent neural network for audio noise reduction.";
    description = "Recurrent neural network for audio noise reduction";
    license = licenses.bsd3;
    maintainers = [ maintainers.nh2 ];
    platforms = platforms.all;