2020-03-20 09:32:14 +01:00
|
|
|
{ bctoolbox
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
|
|
|
, stdenv
|
|
|
|
}:
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2008-01-23 17:33:59 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-23 17:37:58 +01:00
|
|
|
pname = "ortp";
|
2020-03-20 09:32:14 +01:00
|
|
|
# Using master branch for linphone-desktop caused a chain reaction that many
|
|
|
|
# of its dependencies needed to use master branch too.
|
|
|
|
version = "unstable-2020-03-17";
|
2008-01-23 17:33:59 +01:00
|
|
|
|
2020-03-20 09:32:14 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
2019-11-23 17:37:58 +01:00
|
|
|
repo = pname;
|
2020-03-20 09:32:14 +01:00
|
|
|
rev = "804dfc4f90d1a4301127c7af10a74fd2935dd5d8";
|
|
|
|
sha256 = "1yr8j8am68spyy5d9vna8zcq3qn039mi16cv9jf5n4chs9rxf7xx";
|
2008-01-23 17:33:59 +01:00
|
|
|
};
|
|
|
|
|
2020-03-20 09:32:14 +01:00
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
2019-11-04 23:06:05 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
|
|
|
|
|
2016-09-06 11:16:14 +02:00
|
|
|
buildInputs = [ bctoolbox ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2015-04-06 23:43:33 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-22 01:18:09 +02:00
|
|
|
description = "A Real-Time Transport Protocol (RFC3550) stack";
|
2020-03-20 09:32:14 +01:00
|
|
|
homepage = "https://linphone.org/technical-corner/ortp";
|
|
|
|
license = licenses.gpl3;
|
2015-04-06 23:43:33 +02:00
|
|
|
platforms = platforms.all;
|
2020-03-20 09:32:14 +01:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2008-01-23 17:33:59 +01:00
|
|
|
};
|
|
|
|
}
|