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 {
|
2017-04-24 12:25:56 +01:00
|
|
|
name = "sipwitch-1.9.15";
|
2011-01-19 21:17:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/sipwitch/${name}.tar.gz";
|
2017-04-24 12:25:56 +01:00
|
|
|
sha256 = "2a7aa86a653f6810b3cd9cce6c37b3f70e937e7d14b09fd5c2a70d70588a9482";
|
2011-01-19 21:17:05 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ 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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2018-07-22 20:50:19 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2011-01-19 21:17:05 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|