depot/third_party/nixpkgs/pkgs/development/libraries/rnnoise/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

27 lines
705 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation (rec {
pname = "rnnoise";
version = "2020-06-28";
src = fetchFromGitHub {
owner = "xiph";
repo = "rnnoise";
rev = "90ec41ef659fd82cfec2103e9bb7fc235e9ea66c";
sha256 = "02z6qzjajhlpsb80lwl7cqqga9hm638psnqnppjkw84w4lrp15ny";
};
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";
license = licenses.bsd3;
maintainers = [ maintainers.nh2 ];
platforms = platforms.all;
};
})