1 { lib, stdenv, fetchurl, ilbc, mediastreamer, pkg-config }:
3 stdenv.mkDerivation rec {
8 url = "mirror://savannah/linphone/plugins/sources/${pname}-${version}.tar.gz";
9 sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
12 propagatedBuildInputs = [ ilbc mediastreamer ];
13 nativeBuildInputs = [ pkg-config ];
16 "ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
17 "MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
21 description = "Mediastreamer plugin for the iLBC audio codec";
22 platforms = platforms.linux;
23 license = licenses.gpl2;