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
-
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
-
baseName = "belr";
5
-
version = "0.1.3";
6
-
name = "${baseName}-${version}";
0
7
8
-
src = fetchFromGitHub {
9
-
owner = "BelledonneCommunications";
10
-
repo = baseName;
11
-
rev = version;
12
-
sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w";
0
0
13
};
14
15
buildInputs = [ bctoolbox ];
16
nativeBuildInputs = [ cmake ];
17
18
-
meta = with stdenv.lib;{
0
0
0
19
description = "Belr is Belledonne Communications' language recognition library";
20
-
homepage = https://github.com/BelledonneCommunications/belr;
21
-
license = licenses.lgpl21;
22
platforms = platforms.all;
0
23
};
24
}
···
1
+
{ bctoolbox
2
+
, cmake
3
+
, fetchFromGitLab
4
+
, stdenv
5
+
}:
6
7
stdenv.mkDerivation rec {
8
+
pname = "belr";
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-09";
12
13
+
src = fetchFromGitLab {
14
+
domain = "gitlab.linphone.org";
15
+
owner = "public";
16
+
group = "BC";
17
+
repo = pname;
18
+
rev = "326d030ca9db12525c2a6d2a65f386f36f3c2ed5";
19
+
sha256 = "1cdblb9smncq3al0crqp5651b02k1g6whlw1ib769p61gad0rs3v";
20
};
21
22
buildInputs = [ bctoolbox ];
23
nativeBuildInputs = [ cmake ];
24
25
+
# Do not build static libraries
26
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
27
+
28
+
meta = with stdenv.lib; {
29
description = "Belr is Belledonne Communications' language recognition library";
30
+
homepage = "https://gitlab.linphone.org/BC/public/belr";
31
+
license = licenses.gpl3;
32
platforms = platforms.all;
33
+
maintainers = with maintainers; [ jluttine ];
34
};
35
}