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