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-12-01 23:44:59 +01:00
|
|
|
name = "sipwitch-1.1.3";
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2011-12-01 23:44:59 +01:00
|
|
|
sha256 = "0g1vx8xsmna0c7sqck8pv44312r4qrk82ky3j99p82ckbqj1sqjv";
|
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;
|
|
|
|
};
|
|
|
|
}
|