2011-01-19 22:48:05 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, ucommon, libosip, libexosip, gnutls, zlib }:
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-04-12 10:05:38 +02:00
|
|
|
name = "sipwitch-0.10.5";
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2011-04-12 10:05:38 +02:00
|
|
|
sha256 = "0zsdlrri6nph8da9rb2rmr4xgj79hn2ysrfxpnil699qv7qnpb0v";
|
2011-01-19 22:17:05 +01:00
|
|
|
};
|
|
|
|
|
2011-01-19 22:48:05 +01:00
|
|
|
buildInputs = [ pkgconfig ucommon libosip libexosip gnutls zlib ];
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export configureFlags="--sysconfdir=$out/etc"
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Secure peer-to-peer VoIP server that uses the SIP protocol";
|
|
|
|
homepage = http://www.gnu.org/software/sipwitch/;
|
|
|
|
license = "GPLv3+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|