at 15.09-beta 28 lines 830 B view raw
1{ stdenv, fetchurl, autoreconfHook, pkgconfig, fftw }: 2 3stdenv.mkDerivation rec { 4 name = "speexdsp-1.2rc3"; 5 6 src = fetchurl { 7 url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz"; 8 sha256 = "1wcjyrnwlkayb20zdhp48y260rfyzg925qpjpljd5x9r01h8irja"; 9 }; 10 11 patches = [ ./build-fix.patch ]; 12 postPatch = "sed '3i#include <stdint.h>' -i ./include/speex/speexdsp_config_types.h.in"; 13 14 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 15 buildInputs = [ fftw ]; 16 17 configureFlags = [ 18 "--with-fft=gpl-fftw3" 19 ]; 20 21 meta = with stdenv.lib; { 22 hompage = http://www.speex.org/; 23 description = "an Open Source/Free Software patent-free audio compression format designed for speech"; 24 license = licenses.bsd3; 25 platforms = platforms.unix; 26 maintainers = with maintainers; [ wkennington ]; 27 }; 28}