bzrtp: 1.0.6 -> 4.3.1
This commit is contained in:
parent
187ae7c30e
commit
7c5bff5428
@ -1,26 +1,38 @@
|
|||||||
{ stdenv, cmake, fetchFromGitHub, bctoolbox, sqlite }:
|
{ bctoolbox
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitLab
|
||||||
|
, sqlite
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "bzrtp";
|
pname = "bzrtp";
|
||||||
version = "1.0.6";
|
version = "4.3.1";
|
||||||
name = "${baseName}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
owner = "BelledonneCommunications";
|
domain = "gitlab.linphone.org";
|
||||||
repo = baseName;
|
owner = "public";
|
||||||
|
group = "BC";
|
||||||
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0438zzxp82bj5fmvqnwlljkgrz9ab5qm5lgpwwgmg1cp78bp2l45";
|
sha256 = "14fqp6r9rf7z6j5phbsrdxlbjak03hs8kb94b6jgcrcdxrxhy3fy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ bctoolbox sqlite ];
|
buildInputs = [ bctoolbox sqlite ];
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
# Do not build static libraries
|
||||||
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
|
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
|
||||||
homepage = https://github.com/BelledonneCommunications/bzrtp;
|
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
|
||||||
|
# They have switched to GPLv3 on git HEAD so probably the next release will
|
||||||
|
# be GPL3.
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ jluttine ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user