Making pjsip install the console User Agent (pjsua), that helps a lot testing SIP.
svn path=/nixpkgs/trunk/; revision=25587
This commit is contained in:
parent
b8e6a6ef5a
commit
40012b3588
@ -1,6 +1,6 @@
|
|||||||
{stdenv, fetchurl, openssl, libsamplerate}:
|
{stdenv, fetchurl, openssl, libsamplerate}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "pjsip-1.8.10";
|
name = "pjsip-1.8.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -10,9 +10,18 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ openssl libsamplerate ];
|
buildInputs = [ openssl libsamplerate ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
cp pjsip-apps/bin/pjsua-* $out/bin/pjsua
|
||||||
|
ensureDir $out/share/${name}/samples
|
||||||
|
cp pjsip-apps/bin/samples/*/* $out/share/${name}/samples
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "SIP stack and media stack for presence, im, and multimedia communication";
|
description = "SIP stack and media stack for presence, im, and multimedia communication";
|
||||||
homepage = http://pjsip.org/;
|
homepage = http://pjsip.org/;
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [viric];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user