nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 45 lines 902 B view raw
1{ 2 fetchurl, 3 lib, 4 stdenv, 5 pkg-config, 6 ucommon, 7 libosip, 8 libexosip, 9 gnutls, 10 zlib, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "sipwitch"; 15 version = "1.9.15"; 16 17 src = fetchurl { 18 url = "mirror://gnu/sipwitch/sipwitch-${version}.tar.gz"; 19 sha256 = "2a7aa86a653f6810b3cd9cce6c37b3f70e937e7d14b09fd5c2a70d70588a9482"; 20 }; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ 24 ucommon 25 libosip 26 libexosip 27 gnutls 28 zlib 29 ]; 30 31 preConfigure = '' 32 export configureFlags="--sysconfdir=$out/etc" 33 ''; 34 35 doCheck = true; 36 37 meta = { 38 description = "Secure peer-to-peer VoIP server that uses the SIP protocol"; 39 homepage = "https://www.gnu.org/software/sipwitch/"; 40 license = lib.licenses.gpl3Plus; 41 maintainers = [ ]; 42 platforms = with lib.platforms; linux; 43 broken = true; # Require libexosip2 < 5.0.0 which is vulnerable to CVE-2014-10375. 44 }; 45}