diff options
Diffstat (limited to 'pkgs/servers/sip/sipwitch/default.nix')
-rw-r--r-- | pkgs/servers/sip/sipwitch/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/sip/sipwitch/default.nix b/pkgs/servers/sip/sipwitch/default.nix new file mode 100644 index 000000000000..2e2e24938a3f --- /dev/null +++ b/pkgs/servers/sip/sipwitch/default.nix @@ -0,0 +1,26 @@ +{ fetchurl, stdenv, pkgconfig, ucommon, libosip, libexosip, gnutls, zlib }: + +stdenv.mkDerivation rec { + name = "sipwitch-1.1.1"; + + src = fetchurl { + url = "mirror://gnu/sipwitch/${name}.tar.gz"; + sha256 = "14irv1zda6xjsrizc0dvy85fcjx3szbb94jkh3q4s20ywc4s41kx"; + }; + + buildInputs = [ pkgconfig ucommon libosip libexosip gnutls zlib ]; + + 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; + }; +} |