tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
belle-sip: 1.6.3 -> unstable-2020-02-18
Jaakko Luttinen
5 years ago
810dac32
1e9f7710
+24
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
belle-sip
default.nix
+24
-9
pkgs/development/libraries/belle-sip/default.nix
···
1
-
{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
2
-
, cmake, zlib, bctoolbox
0
0
0
0
0
0
0
3
}:
4
5
stdenv.mkDerivation rec {
6
pname = "belle-sip";
7
-
version = "1.6.3";
0
0
8
9
-
src = fetchFromGitHub {
10
-
owner = "BelledonneCommunications";
0
0
11
repo = pname;
12
-
rev = version;
13
-
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
14
};
15
16
nativeBuildInputs = [ jre cmake ];
17
18
buildInputs = [ zlib ];
19
0
0
0
20
NIX_CFLAGS_COMPILE = toString [
21
"-Wno-error=deprecated-declarations"
22
"-Wno-error=format-truncation"
···
29
enableParallelBuilding = false;
30
31
meta = with stdenv.lib; {
32
-
homepage = https://linphone.org/technical-corner/belle-sip;
33
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
34
-
license = licenses.gpl2;
35
platforms = platforms.all;
0
36
};
37
}
···
1
+
{ antlr3_4
2
+
, bctoolbox
3
+
, cmake
4
+
, fetchFromGitLab
5
+
, jre
6
+
, libantlr3c
7
+
, mbedtls
8
+
, stdenv
9
+
, zlib
10
}:
11
12
stdenv.mkDerivation rec {
13
pname = "belle-sip";
14
+
# Using master branch for linphone-desktop caused a chain reaction that many
15
+
# of its dependencies needed to use master branch too.
16
+
version = "unstable-2020-02-18";
17
18
+
src = fetchFromGitLab {
19
+
domain = "gitlab.linphone.org";
20
+
owner = "public";
21
+
group = "BC";
22
repo = pname;
23
+
rev = "0dcb13416eae87edf140771b886aedaf6be8cf60";
24
+
sha256 = "0pzxk8mkkg6zsnmj1bwggbdjv864psx89gglfm51h8s501kg11fv";
25
};
26
27
nativeBuildInputs = [ jre cmake ];
28
29
buildInputs = [ zlib ];
30
31
+
# Do not build static libraries
32
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
33
+
34
NIX_CFLAGS_COMPILE = toString [
35
"-Wno-error=deprecated-declarations"
36
"-Wno-error=format-truncation"
···
43
enableParallelBuilding = false;
44
45
meta = with stdenv.lib; {
46
+
homepage = "https://linphone.org/technical-corner/belle-sip";
47
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
48
+
license = licenses.gpl3;
49
platforms = platforms.all;
50
+
maintainers = with maintainers; [ jluttine ];
51
};
52
}