2020-03-20 08:32:14 +00:00
|
|
|
{ bctoolbox
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
2021-01-21 17:00:13 +00:00
|
|
|
, lib, stdenv
|
2020-03-20 08:32:14 +00:00
|
|
|
}:
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2008-01-23 16:33:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-23 16:37:58 +00:00
|
|
|
pname = "ortp";
|
2021-03-04 04:11:19 +00:00
|
|
|
version = "4.4.32";
|
2008-01-23 16:33:59 +00:00
|
|
|
|
2020-03-20 08:32:14 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
2019-11-23 16:37:58 +00:00
|
|
|
repo = pname;
|
2020-12-07 18:09:40 +00:00
|
|
|
rev = version;
|
2021-03-04 04:11:19 +00:00
|
|
|
sha256 = "sha256-tcSrDfo1AZM7yQarwfV4n6p1UOShXGKjMW5u57/cM+Q=";
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
|
2020-03-20 08:32:14 +00:00
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
2019-11-04 22:06:05 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
|
|
|
|
|
2016-09-06 10:16:14 +01:00
|
|
|
buildInputs = [ bctoolbox ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2009-04-22 00:18:09 +01:00
|
|
|
description = "A Real-Time Transport Protocol (RFC3550) stack";
|
2020-03-20 08:32:14 +00:00
|
|
|
homepage = "https://linphone.org/technical-corner/ortp";
|
2020-12-28 16:32:14 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2015-04-06 22:43:33 +01:00
|
|
|
platforms = platforms.all;
|
2020-03-20 08:32:14 +00:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
}
|