nixpkgs/pkgs/development/libraries/ortp/default.nix

25 lines
654 B
Nix
Raw Normal View History

2016-09-06 10:16:14 +01:00
{ stdenv, fetchurl, cmake, fetchFromGitHub, bctoolbox }:
stdenv.mkDerivation rec {
2016-09-06 10:16:14 +01:00
baseName = "ortp";
2018-02-10 05:19:52 +00:00
version = "1.0.2";
2016-09-06 10:16:14 +01:00
name = "${baseName}-${version}";
2016-09-06 10:16:14 +01:00
src = fetchFromGitHub {
owner = "BelledonneCommunications";
repo = "${baseName}";
rev = "${version}";
2018-02-10 05:19:52 +00:00
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
};
2016-09-06 10:16:14 +01:00
buildInputs = [ bctoolbox ];
nativeBuildInputs = [ cmake ];
2015-04-06 22:43:33 +01:00
meta = with stdenv.lib; {
description = "A Real-Time Transport Protocol (RFC3550) stack";
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;
};
}