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-01-18 21:52:26 +01:00
|
|
|
name = "sipwitch-1.2.1";
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2012-01-18 21:52:26 +01:00
|
|
|
sha256 = "01364q67gyxpxx5fxrmf9kns3qgivnp41kzhi81jdq8sa48c7qbq";
|
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;
|
|
|
|
};
|
|
|
|
}
|