tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bzrtp: 1.0.6 -> 4.3.1
Jaakko Luttinen
5 years ago
7c5bff54
187ae7c3
+21
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
bzrtp
default.nix
+21
-9
pkgs/development/libraries/bzrtp/default.nix
···
1
-
{ stdenv, cmake, fetchFromGitHub, bctoolbox, sqlite }:
0
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
-
baseName = "bzrtp";
5
-
version = "1.0.6";
6
-
name = "${baseName}-${version}";
7
8
-
src = fetchFromGitHub {
9
-
owner = "BelledonneCommunications";
10
-
repo = baseName;
0
0
11
rev = version;
12
-
sha256 = "0438zzxp82bj5fmvqnwlljkgrz9ab5qm5lgpwwgmg1cp78bp2l45";
13
};
14
15
buildInputs = [ bctoolbox sqlite ];
16
nativeBuildInputs = [ cmake ];
17
0
0
0
18
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
19
20
meta = with stdenv.lib; {
21
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
22
-
homepage = https://github.com/BelledonneCommunications/bzrtp;
0
0
23
license = licenses.lgpl21;
24
platforms = platforms.all;
0
25
};
26
}
···
1
+
{ bctoolbox
2
+
, cmake
3
+
, fetchFromGitLab
4
+
, sqlite
5
+
, stdenv
6
+
}:
7
8
stdenv.mkDerivation rec {
9
+
pname = "bzrtp";
10
+
version = "4.3.1";
0
11
12
+
src = fetchFromGitLab {
13
+
domain = "gitlab.linphone.org";
14
+
owner = "public";
15
+
group = "BC";
16
+
repo = pname;
17
rev = version;
18
+
sha256 = "14fqp6r9rf7z6j5phbsrdxlbjak03hs8kb94b6jgcrcdxrxhy3fy";
19
};
20
21
buildInputs = [ bctoolbox sqlite ];
22
nativeBuildInputs = [ cmake ];
23
24
+
# Do not build static libraries
25
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
26
+
27
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
28
29
meta = with stdenv.lib; {
30
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
31
+
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
32
+
# They have switched to GPLv3 on git HEAD so probably the next release will
33
+
# be GPL3.
34
license = licenses.lgpl21;
35
platforms = platforms.all;
36
+
maintainers = with maintainers; [ jluttine ];
37
};
38
}