fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, autoreconfHook, pkgconfig, fftw, speexdsp }:
2
3stdenv.mkDerivation rec {
4 name = "speex-1.2rc2";
5
6 src = fetchurl {
7 url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz";
8 sha256 = "14g8ph39inkrif749lzjm089g7kwk0hymq1a3i9ch5gz8xr7r8na";
9 };
10
11 postPatch = ''
12 sed -i '/AC_CONFIG_MACRO_DIR/i PKG_PROG_PKG_CONFIG' configure.ac
13 '';
14
15 nativeBuildInputs = [ autoreconfHook pkgconfig ];
16 buildInputs = [ fftw speexdsp ];
17
18 # TODO: Remove this will help with immediate backward compatability
19 propagatedBuildInputs = [ speexdsp ];
20
21 configureFlags = [
22 "--with-fft=gpl-fftw3"
23 ];
24
25 meta = with stdenv.lib; {
26 hompage = http://www.speex.org/;
27 description = "an Open Source/Free Software patent-free audio compression format designed for speech";
28 license = licenses.bsd3;
29 platforms = platforms.unix;
30 maintainers = with maintainers; [ wkennington ];
31 };
32}