1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, fftw, speexdsp }:
3 stdenv.mkDerivation rec {
7 url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz";
8 sha256 = "150047wnllz4r94whb9r73l5qf0z5z3rlhy98bawfbblmkq8mbpa";
12 sed -i '/AC_CONFIG_MACRO_DIR/i PKG_PROG_PKG_CONFIG' configure.ac
15 outputs = [ "out" "dev" "doc" ];
17 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 buildInputs = [ fftw speexdsp ];
20 # TODO: Remove this will help with immediate backward compatability
21 propagatedBuildInputs = [ speexdsp ];
24 "--with-fft=gpl-fftw3"
28 homepage = "https://www.speex.org/";
29 description = "An Open Source/Free Software patent-free audio compression format designed for speech";
30 license = licenses.bsd3;
31 platforms = platforms.unix;