2016-09-06 10:16:14 +01:00
|
|
|
{ stdenv, fetchurl, cmake, fetchFromGitHub, bctoolbox }:
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2008-01-23 16:33:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-06 10:16:14 +01:00
|
|
|
baseName = "ortp";
|
|
|
|
version = "0.27.0";
|
|
|
|
name = "${baseName}-${version}";
|
2008-01-23 16:33:59 +00:00
|
|
|
|
2016-09-06 10:16:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
|
|
|
repo = "${baseName}";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0gjaaph4pamay9gn1yn7ky5wyzhj93r53rwak7h8s48vf08fqyv7";
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
|
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";
|
2008-02-18 20:51:25 +00:00
|
|
|
homepage = http://www.linphone.org/index.php/eng/code_review/ortp;
|
2015-04-06 22:43:33 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2008-01-23 16:33:59 +00:00
|
|
|
};
|
|
|
|
}
|