tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ortp: 1.0.2 -> unstable-2020-03-17
Jaakko Luttinen
5 years ago
1e9f7710
8a236c60
+20
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
ortp
default.nix
+20
-8
pkgs/development/libraries/ortp/default.nix
···
1
-
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
pname = "ortp";
5
-
version = "1.0.2";
0
0
6
7
-
src = fetchFromGitHub {
8
-
owner = "BelledonneCommunications";
0
0
9
repo = pname;
10
-
rev = version;
11
-
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
12
};
13
0
0
0
14
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
15
16
buildInputs = [ bctoolbox ];
···
18
19
meta = with stdenv.lib; {
20
description = "A Real-Time Transport Protocol (RFC3550) stack";
21
-
homepage = https://linphone.org/technical-corner/ortp;
22
-
license = licenses.gpl2Plus;
23
platforms = platforms.all;
0
24
};
25
}
···
1
+
{ bctoolbox
2
+
, cmake
3
+
, fetchFromGitLab
4
+
, stdenv
5
+
}:
6
7
stdenv.mkDerivation rec {
8
pname = "ortp";
9
+
# Using master branch for linphone-desktop caused a chain reaction that many
10
+
# of its dependencies needed to use master branch too.
11
+
version = "unstable-2020-03-17";
12
13
+
src = fetchFromGitLab {
14
+
domain = "gitlab.linphone.org";
15
+
owner = "public";
16
+
group = "BC";
17
repo = pname;
18
+
rev = "804dfc4f90d1a4301127c7af10a74fd2935dd5d8";
19
+
sha256 = "1yr8j8am68spyy5d9vna8zcq3qn039mi16cv9jf5n4chs9rxf7xx";
20
};
21
22
+
# Do not build static libraries
23
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
24
+
25
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
26
27
buildInputs = [ bctoolbox ];
···
29
30
meta = with stdenv.lib; {
31
description = "A Real-Time Transport Protocol (RFC3550) stack";
32
+
homepage = "https://linphone.org/technical-corner/ortp";
33
+
license = licenses.gpl3;
34
platforms = platforms.all;
35
+
maintainers = with maintainers; [ jluttine ];
36
};
37
}