Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

belle-sip: 1.6.3 -> unstable-2020-02-18

+24 -9
+24 -9
pkgs/development/libraries/belle-sip/default.nix
··· 1 - { stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub 2 - , cmake, zlib, bctoolbox 1 + { antlr3_4 2 + , bctoolbox 3 + , cmake 4 + , fetchFromGitLab 5 + , jre 6 + , libantlr3c 7 + , mbedtls 8 + , stdenv 9 + , zlib 3 10 }: 4 11 5 12 stdenv.mkDerivation rec { 6 13 pname = "belle-sip"; 7 - version = "1.6.3"; 14 + # Using master branch for linphone-desktop caused a chain reaction that many 15 + # of its dependencies needed to use master branch too. 16 + version = "unstable-2020-02-18"; 8 17 9 - src = fetchFromGitHub { 10 - owner = "BelledonneCommunications"; 18 + src = fetchFromGitLab { 19 + domain = "gitlab.linphone.org"; 20 + owner = "public"; 21 + group = "BC"; 11 22 repo = pname; 12 - rev = version; 13 - sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk"; 23 + rev = "0dcb13416eae87edf140771b886aedaf6be8cf60"; 24 + sha256 = "0pzxk8mkkg6zsnmj1bwggbdjv864psx89gglfm51h8s501kg11fv"; 14 25 }; 15 26 16 27 nativeBuildInputs = [ jre cmake ]; 17 28 18 29 buildInputs = [ zlib ]; 19 30 31 + # Do not build static libraries 32 + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 33 + 20 34 NIX_CFLAGS_COMPILE = toString [ 21 35 "-Wno-error=deprecated-declarations" 22 36 "-Wno-error=format-truncation" ··· 29 43 enableParallelBuilding = false; 30 44 31 45 meta = with stdenv.lib; { 32 - homepage = https://linphone.org/technical-corner/belle-sip; 46 + homepage = "https://linphone.org/technical-corner/belle-sip"; 33 47 description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers"; 34 - license = licenses.gpl2; 48 + license = licenses.gpl3; 35 49 platforms = platforms.all; 50 + maintainers = with maintainers; [ jluttine ]; 36 51 }; 37 52 }