python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / msilbc / default.nix
blobb5eaee26aa0335ded53df99eadad713c81e5f8d2
1 { lib, stdenv, fetchurl, ilbc, mediastreamer, pkg-config }:
3 stdenv.mkDerivation rec {
4   pname = "msilbc";
5   version = "2.1.2";
7   src = fetchurl {
8     url = "mirror://savannah/linphone/plugins/sources/${pname}-${version}.tar.gz";
9     sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
10   };
12   propagatedBuildInputs = [ ilbc mediastreamer ];
13   nativeBuildInputs = [ pkg-config ];
15   configureFlags = [
16     "ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
17     "MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
18   ];
20   meta = with lib; {
21     description = "Mediastreamer plugin for the iLBC audio codec";
22     platforms = platforms.linux;
23     license = licenses.gpl2;
24   };