1 { fetchurl, lib, stdenv, pkg-config, ucommon, libosip, libexosip, gnutls, zlib }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnu/sipwitch/sipwitch-${version}.tar.gz";
9 sha256 = "2a7aa86a653f6810b3cd9cce6c37b3f70e937e7d14b09fd5c2a70d70588a9482";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ ucommon libosip libexosip gnutls zlib ];
16 export configureFlags="--sysconfdir=$out/etc"
22 description = "Secure peer-to-peer VoIP server that uses the SIP protocol";
23 homepage = "https://www.gnu.org/software/sipwitch/";
24 license = lib.licenses.gpl3Plus;
26 platforms = with lib.platforms; linux;
27 broken = true; # Require libexosip2 < 5.0.0 which is vulnerable to CVE-2014-10375.