2019-11-06 02:17:20 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2020-02-17 16:00:58 +00:00
|
|
|
pname = "rnnoise";
|
|
|
|
version = "2019-04-24";
|
2019-11-06 02:17:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xiph";
|
|
|
|
repo = "rnnoise";
|
2020-02-17 16:00:58 +00:00
|
|
|
rev = "9acc1e5a633e0961a5895a73204df24744f199b6";
|
|
|
|
sha256 = "17xip4z0skpzas7wrdyi87j46mbz9jncpj554m8654bqpkxis0pr";
|
2019-11-06 02:17:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2020-02-17 16:00:58 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -Dt $out/bin examples/.libs/rnnoise_demo
|
|
|
|
'';
|
|
|
|
|
2019-11-06 02:17:20 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://people.xiph.org/~jm/demo/rnnoise/";
|
2020-02-17 16:00:58 +00:00
|
|
|
description = "Recurrent neural network for audio noise reduction";
|
2019-11-06 02:17:20 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.nh2 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|