2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
|
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";
|
2018-02-10 05:19:52 +00:00
|
|
|
version = "1.0.2";
|
2008-01-23 16:33:59 +00:00
|
|
|
|
2016-09-06 10:16:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
2019-11-23 16:37:58 +00:00
|
|
|
repo = pname;
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-02-10 05:19:52 +00:00
|
|
|
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
|
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 ];
|
|
|
|
|
2015-04-06 22:43:33 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-22 00:18:09 +01:00
|
|
|
description = "A Real-Time Transport Protocol (RFC3550) stack";
|
2019-11-23 16:37:58 +00:00
|
|
|
homepage = https://linphone.org/technical-corner/ortp;
|
|
|
|
license = licenses.gpl2Plus;
|
2015-04-06 22:43:33 +01:00
|
|
|
platforms = platforms.all;
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
}
|