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";
|
2020-12-13 11:35:41 +00:00
|
|
|
version = "2020-06-28";
|
2019-11-06 02:17:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xiph";
|
|
|
|
repo = "rnnoise";
|
2020-12-13 11:35:41 +00:00
|
|
|
rev = "90ec41ef659fd82cfec2103e9bb7fc235e9ea66c";
|
|
|
|
sha256 = "02z6qzjajhlpsb80lwl7cqqga9hm638psnqnppjkw84w4lrp15ny";
|
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 01:11:51 +00: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;
|
|
|
|
};
|
|
|
|
})
|