python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / speexdsp / default.nix
blob5e6f27f434ad8e8fe07fddd0755c53ed553bb7ae
1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, fftw }:
3 stdenv.mkDerivation rec {
4   pname = "speexdsp";
5   version = "1.2.1";
7   src = fetchurl {
8     url = "https://downloads.xiph.org/releases/speex/${pname}-${version}.tar.gz";
9     sha256 = "sha256-jHdzQ+SmOZVpxyq8OKlbJNtWiCyD29tsZCSl9K61TT0=";
10   };
12   patches = [ ./build-fix.patch ];
13   postPatch = "sed '3i#include <stdint.h>' -i ./include/speex/speexdsp_config_types.h.in";
15   outputs = [ "out" "dev" "doc" ];
17   nativeBuildInputs = [ autoreconfHook pkg-config ];
18   buildInputs = [ fftw ];
20   configureFlags = [
21     "--with-fft=gpl-fftw3"
22   ] ++ lib.optional stdenv.isAarch64 "--disable-neon";
24   meta = with lib; {
25     homepage = "https://www.speex.org/";
26     description = "An Open Source/Free Software patent-free audio compression format designed for speech";
27     license = licenses.bsd3;
28     platforms = platforms.unix;
29   };