belle-sip: 1.6.3 -> unstable-2020-02-18
This commit is contained in:
parent
1e9f771055
commit
810dac320a
@ -1,22 +1,36 @@
|
|||||||
{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
|
{ antlr3_4
|
||||||
, cmake, zlib, bctoolbox
|
, bctoolbox
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitLab
|
||||||
|
, jre
|
||||||
|
, libantlr3c
|
||||||
|
, mbedtls
|
||||||
|
, stdenv
|
||||||
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "belle-sip";
|
pname = "belle-sip";
|
||||||
version = "1.6.3";
|
# Using master branch for linphone-desktop caused a chain reaction that many
|
||||||
|
# of its dependencies needed to use master branch too.
|
||||||
|
version = "unstable-2020-02-18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
owner = "BelledonneCommunications";
|
domain = "gitlab.linphone.org";
|
||||||
|
owner = "public";
|
||||||
|
group = "BC";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "0dcb13416eae87edf140771b886aedaf6be8cf60";
|
||||||
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
|
sha256 = "0pzxk8mkkg6zsnmj1bwggbdjv864psx89gglfm51h8s501kg11fv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ jre cmake ];
|
nativeBuildInputs = [ jre cmake ];
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
# Do not build static libraries
|
||||||
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = toString [
|
NIX_CFLAGS_COMPILE = toString [
|
||||||
"-Wno-error=deprecated-declarations"
|
"-Wno-error=deprecated-declarations"
|
||||||
"-Wno-error=format-truncation"
|
"-Wno-error=format-truncation"
|
||||||
@ -29,9 +43,10 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://linphone.org/technical-corner/belle-sip;
|
homepage = "https://linphone.org/technical-corner/belle-sip";
|
||||||
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
|
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ jluttine ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user