mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
71586f5307
This adds the `rnnoise_destroy` symbol which is needed by newer PulseEffects.
28 lines
705 B
Nix
28 lines
705 B
Nix
{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation (rec {
|
|
pname = "rnnoise";
|
|
version = "2021-01-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xiph";
|
|
repo = "rnnoise";
|
|
rev = "1cbdbcf1283499bbb2230a6b0f126eb9b236defd";
|
|
sha256 = "1y0rzgmvy8bf9a431garpm2w177s6ajgf79y5ymw4yb0pik57rwb";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|