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
1
-
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
1
1
+
{ bctoolbox
2
2
+
, cmake
3
3
+
, fetchFromGitLab
4
4
+
, stdenv
5
5
+
}:
2
6
3
7
stdenv.mkDerivation rec {
4
8
pname = "ortp";
5
5
-
version = "1.0.2";
9
9
+
# Using master branch for linphone-desktop caused a chain reaction that many
10
10
+
# of its dependencies needed to use master branch too.
11
11
+
version = "unstable-2020-03-17";
6
12
7
7
-
src = fetchFromGitHub {
8
8
-
owner = "BelledonneCommunications";
13
13
+
src = fetchFromGitLab {
14
14
+
domain = "gitlab.linphone.org";
15
15
+
owner = "public";
16
16
+
group = "BC";
9
17
repo = pname;
10
10
-
rev = version;
11
11
-
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
18
18
+
rev = "804dfc4f90d1a4301127c7af10a74fd2935dd5d8";
19
19
+
sha256 = "1yr8j8am68spyy5d9vna8zcq3qn039mi16cv9jf5n4chs9rxf7xx";
12
20
};
13
21
22
22
+
# Do not build static libraries
23
23
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
24
24
+
14
25
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
15
26
16
27
buildInputs = [ bctoolbox ];
···
18
29
19
30
meta = with stdenv.lib; {
20
31
description = "A Real-Time Transport Protocol (RFC3550) stack";
21
21
-
homepage = https://linphone.org/technical-corner/ortp;
22
22
-
license = licenses.gpl2Plus;
32
32
+
homepage = "https://linphone.org/technical-corner/ortp";
33
33
+
license = licenses.gpl3;
23
34
platforms = platforms.all;
35
35
+
maintainers = with maintainers; [ jluttine ];
24
36
};
25
37
}