diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-09-24 21:02:19 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-09-24 21:03:02 +0400 |
commit | 732811700a849e53b4411ec9395b12c3ce5277db (patch) | |
tree | 0e574d3d7e345faf9dad08682d19ecea9dfdd496 /pkgs/applications/networking/instant-messengers/baresip | |
parent | e9315d4a1cdc2e9f832eac6a76403a448e8d1abc (diff) | |
download | nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.gz nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.bz2 nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.lz nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.xz nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.zst nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.zip |
Added BareSIP
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/baresip')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/baresip/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/baresip/default.nix b/pkgs/applications/networking/instant-messengers/baresip/default.nix new file mode 100644 index 00000000000..00b82d555fe --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/baresip/default.nix @@ -0,0 +1,44 @@ +{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig +, cairo, mpg123, gstreamer, gst_ffmpeg, gst_plugins_base, gst_plugins_bad +, gst_plugins_good, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg +, gsm, speex, portaudio, spandsp, libuuid +}: +stdenv.mkDerivation rec { + version = "0.4.2"; + name = "baresip-${version}"; + src=fetchurl { + url = "http://www.creytiv.com/pub/baresip-${version}.tar.gz"; + sha256 = "3ac15b3d3cf17b2417ba871e7eaaaf41ab10cb30b900adcee357d5e91ea033e7"; + }; + buildInputs = [zlib openssl libre librem pkgconfig + cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good + alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid + ]; + makeFlags = [ + "LIBRE_MK=${libre}/share/re/re.mk" + "LIBRE_INC=${libre}/include/re" + "LIBRE_SO=${libre}/lib" + "LIBREM_PATH=${librem}" + "SYSROOT=${stdenv.gcc.libc}" + "SYSROOT_ALT=${stdenv.gcc.gcc}" + ''PREFIX=$(out)'' + "USE_VIDEO=1" + + "USE_ALSA=1" "USE_AMR=1" "USE_CAIRO=1" "USE_CELT=1" + "USE_CONS=1" "USE_EVDEV=1" "USE_FFMPEG=1" "USE_GSM=1" "USE_GST=1" + "USE_L16=1" "USE_MPG123=1" "USE_OSS=1" "USE_PLC=1" + "USE_PORTAUDIO=1" "USE_SDL=1" "USE_SNDFILE=1" "USE_SPEEX=1" + "USE_SPEEX_AEC=1" "USE_SPEEX_PP=1" "USE_SPEEX_RESAMP=1" "USE_SRTP=1" + "USE_STDIO=1" "USE_SYSLOG=1" "USE_UUID=1" "USE_V4L2=1" "USE_X11=1" + + "USE_BV32=" "USE_COREAUDIO=" "USE_G711=" "USE_G722=" "USE_G722_1=" + "USE_ILBC=" "USE_OPUS=" "USE_SILK=" + ]; + NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm ''; + meta = { + homepage = "http://www.creytiv.com/baresip.html"; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [raskin]; + license = with stdenv.lib.licenses; bsd3; + }; +} |