python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / rnnoise / default.nix
blobaf4fcf30153c58ebf5f91075594a3f923a72f75c
1 { stdenv, lib, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation (rec {
4   pname = "rnnoise";
5   version = "2021-01-22";
7   src = fetchFromGitHub {
8     owner = "xiph";
9     repo = "rnnoise";
10     rev = "1cbdbcf1283499bbb2230a6b0f126eb9b236defd";
11     sha256 = "1y0rzgmvy8bf9a431garpm2w177s6ajgf79y5ymw4yb0pik57rwb";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
16   postInstall = ''
17     install -Dt $out/bin examples/.libs/rnnoise_demo
18   '';
20   meta = with lib; {
21     description = "Recurrent neural network for audio noise reduction";
22     homepage = "https://people.xiph.org/~jm/demo/rnnoise/";
23     license = licenses.bsd3;
24     maintainers = [ maintainers.nh2 ];
25     mainProgram = "rnnoise_demo";
26     platforms = platforms.all;
27   };