summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-08-30 22:30:55 +0200
committerGitHub <noreply@github.com>2016-08-30 22:30:55 +0200
commit986e64280e40edb7b03e40216204e2f7fbe4e396 (patch)
tree48681d5fc70c809ea2b9acff7fa88266d60b3a8a
parent400995e46dbfac1809a848bc4b91d7cd10a08e33 (diff)
parent64667ae3ef0e0dc4a1b1cbdbea30de8a07cb4f15 (diff)
downloadnixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar.gz
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar.bz2
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar.lz
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar.xz
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.tar.zst
nixlib-986e64280e40edb7b03e40216204e2f7fbe4e396.zip
Merge pull request #17970 from adolfogc/pjsip
pjsip: 2.1 -> 2.5.5
-rw-r--r--pkgs/applications/networking/pjsip/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/networking/pjsip/default.nix b/pkgs/applications/networking/pjsip/default.nix
index 4d08e1cc60a1..4ccc3fd52373 100644
--- a/pkgs/applications/networking/pjsip/default.nix
+++ b/pkgs/applications/networking/pjsip/default.nix
@@ -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];