depot/third_party/nixpkgs/pkgs/development/libraries/msilbc/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
693 B
Nix

{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
stdenv.mkDerivation rec {
name = "msilbc-2.1.2";
src = fetchurl {
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
};
propagatedBuildInputs = [ ilbc mediastreamer ];
nativeBuildInputs = [ pkgconfig ];
configureFlags = [
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
];
meta = with stdenv.lib; {
description = "Mediastreamer plugin for the iLBC audio codec";
platforms = platforms.linux;
license = licenses.gpl2;
};
}