3
0
Fork 0
forked from mirrors/nixpkgs

pjsip: 2.1 -> 2.5.5

This commit is contained in:
Adolfo E. García Castro 2016-08-29 10:22:34 -06:00
parent 20b4c8726a
commit 64667ae3ef

View file

@ -1,14 +1,15 @@
{stdenv, fetchurl, openssl, libsamplerate}:
{ stdenv, fetchurl, openssl, libsamplerate, alsaLib }:
stdenv.mkDerivation rec {
name = "pjsip-2.1";
name = "pjsip-${version}";
version = "2.5.5";
src = fetchurl {
url = http://www.pjsip.org/release/2.1/pjproject-2.1.tar.bz2;
md5 = "310eb63638dac93095f6a1fc8ee1f578";
url = "http://www.pjsip.org/release/${version}/pjproject-${version}.tar.bz2";
sha256 = "ab39207b761d3485199cd881410afeb2d171dff7c2bf75e8caae91c6dca508f3";
};
buildInputs = [ openssl libsamplerate ];
buildInputs = [ openssl libsamplerate alsaLib ];
postInstall = ''
mkdir -p $out/bin
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
dontPatchELF = true;
meta = {
description = "SIP stack and media stack for presence, im, and multimedia communication";
description = "A multimedia communication library written in C, implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE";
homepage = http://pjsip.org/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];