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 {
|
2012-04-09 22:51:40 +02:00
|
|
|
name = "sipwitch-1.2.3";
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2012-04-09 22:51:40 +02:00
|
|
|
sha256 = "0vc7x061m2jdj8hwpw56yiz8ij07x058vm1rm1dz7w98slpkcj6d";
|
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;
|
|
|
|
};
|
|
|
|
}
|