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

26 lines
641 B
Nix
Raw Normal View History

{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
stdenv.mkDerivation rec {
pname = "ortp";
2018-02-10 06:19:52 +01:00
version = "1.0.2";
2016-09-06 11:16:14 +02:00
src = fetchFromGitHub {
owner = "BelledonneCommunications";
repo = pname;
2019-09-09 01:38:31 +02:00
rev = version;
2018-02-10 06:19:52 +01:00
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
};
2019-11-04 23:06:05 +01:00
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
2016-09-06 11:16:14 +02:00
buildInputs = [ bctoolbox ];
nativeBuildInputs = [ cmake ];
2015-04-06 23:43:33 +02:00
meta = with stdenv.lib; {
description = "A Real-Time Transport Protocol (RFC3550) stack";
homepage = https://linphone.org/technical-corner/ortp;
license = licenses.gpl2Plus;
2015-04-06 23:43:33 +02:00
platforms = platforms.all;
};
}