tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
belr: 0.1.3 -> unstable-2020-03-09
Jaakko Luttinen
5 years ago
8a236c60
9bd26121
+23
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
belr
default.nix
+23
-12
pkgs/development/libraries/belr/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
4
-
baseName = "belr";
5
5
-
version = "0.1.3";
6
6
-
name = "${baseName}-${version}";
8
8
+
pname = "belr";
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-09";
7
12
8
8
-
src = fetchFromGitHub {
9
9
-
owner = "BelledonneCommunications";
10
10
-
repo = baseName;
11
11
-
rev = version;
12
12
-
sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w";
13
13
+
src = fetchFromGitLab {
14
14
+
domain = "gitlab.linphone.org";
15
15
+
owner = "public";
16
16
+
group = "BC";
17
17
+
repo = pname;
18
18
+
rev = "326d030ca9db12525c2a6d2a65f386f36f3c2ed5";
19
19
+
sha256 = "1cdblb9smncq3al0crqp5651b02k1g6whlw1ib769p61gad0rs3v";
13
20
};
14
21
15
22
buildInputs = [ bctoolbox ];
16
23
nativeBuildInputs = [ cmake ];
17
24
18
18
-
meta = with stdenv.lib;{
25
25
+
# Do not build static libraries
26
26
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
27
27
+
28
28
+
meta = with stdenv.lib; {
19
29
description = "Belr is Belledonne Communications' language recognition library";
20
20
-
homepage = https://github.com/BelledonneCommunications/belr;
21
21
-
license = licenses.lgpl21;
30
30
+
homepage = "https://gitlab.linphone.org/BC/public/belr";
31
31
+
license = licenses.gpl3;
22
32
platforms = platforms.all;
33
33
+
maintainers = with maintainers; [ jluttine ];
23
34
};
24
35
}