ortp: 1.0.2 -> unstable-2020-03-17

+20 -8
+20 -8
pkgs/development/libraries/ortp/default.nix
··· 1 - { stdenv, cmake, fetchFromGitHub, bctoolbox }: 1 + { bctoolbox 2 + , cmake 3 + , fetchFromGitLab 4 + , stdenv 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 pname = "ortp"; 5 - version = "1.0.2"; 9 + # Using master branch for linphone-desktop caused a chain reaction that many 10 + # of its dependencies needed to use master branch too. 11 + version = "unstable-2020-03-17"; 6 12 7 - src = fetchFromGitHub { 8 - owner = "BelledonneCommunications"; 13 + src = fetchFromGitLab { 14 + domain = "gitlab.linphone.org"; 15 + owner = "public"; 16 + group = "BC"; 9 17 repo = pname; 10 - rev = version; 11 - sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv"; 18 + rev = "804dfc4f90d1a4301127c7af10a74fd2935dd5d8"; 19 + sha256 = "1yr8j8am68spyy5d9vna8zcq3qn039mi16cv9jf5n4chs9rxf7xx"; 12 20 }; 13 21 22 + # Do not build static libraries 23 + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 24 + 14 25 NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation"; 15 26 16 27 buildInputs = [ bctoolbox ]; ··· 18 29 19 30 meta = with stdenv.lib; { 20 31 description = "A Real-Time Transport Protocol (RFC3550) stack"; 21 - homepage = https://linphone.org/technical-corner/ortp; 22 - license = licenses.gpl2Plus; 32 + homepage = "https://linphone.org/technical-corner/ortp"; 33 + license = licenses.gpl3; 23 34 platforms = platforms.all; 35 + maintainers = with maintainers; [ jluttine ]; 24 36 }; 25 37 }