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