1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
nixpkgs/pkgs/development/libraries/msilbc/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

22 lines
538 B
Nix

{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
stdenv.mkDerivation rec {
name = "msilbc-2.0.3";
src = fetchurl {
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
sha256 = "125yadpc0w1q84839dadin3ahs0gxxfas0zmc4c18mjmf58dmm7d";
};
# patchPhase = "sed -i /MS_FILTER_SET_FMTP/d ilbc.c";
propagatedBuildInputs = [ilbc mediastreamer];
buildInputs = [pkgconfig];
configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include";
meta = {
platforms = stdenv.lib.platforms.linux;
};
}