2011-01-19 21:48:05 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, ucommon, libosip, libexosip, gnutls, zlib }:
|
2011-01-19 21:17:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-07-21 15:32:44 +00:00
|
|
|
name = "sipwitch-1.9.8";
|
2011-01-19 21:17:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2015-07-21 15:32:44 +00:00
|
|
|
sha256 = "0117c5iid1vrwl7sl3pys2jlinpmx2vfp8wcdwk93m7cc6k9793b";
|
2011-01-19 21:17:05 +00:00
|
|
|
};
|
|
|
|
|
2011-01-19 21:48:05 +00:00
|
|
|
buildInputs = [ pkgconfig ucommon libosip libexosip gnutls zlib ];
|
2011-01-19 21:17:05 +00: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/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2011-01-19 21:17:05 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|