My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/msilbc/default.nix

25 lines
721 B

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