tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
belcard: 1.0.2 -> 4.3.1
Jaakko Luttinen
5 years ago
187ae7c3
dcf2f118
+21
-11
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
belcard
default.nix
+21
-11
pkgs/development/libraries/belcard/default.nix
···
1
1
-
{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }:
1
1
+
{ bctoolbox
2
2
+
, belr
3
3
+
, cmake
4
4
+
, fetchFromGitLab
5
5
+
, stdenv
6
6
+
}:
2
7
3
8
stdenv.mkDerivation rec {
4
4
-
baseName = "belcard";
5
5
-
version = "1.0.2";
6
6
-
name = "${baseName}-${version}";
9
9
+
pname = "belcard";
10
10
+
version = "4.3.1";
7
11
8
8
-
src = fetchFromGitHub {
9
9
-
owner = "BelledonneCommunications";
10
10
-
repo = baseName;
12
12
+
src = fetchFromGitLab {
13
13
+
domain = "gitlab.linphone.org";
14
14
+
owner = "public";
15
15
+
group = "BC";
16
16
+
repo = pname;
11
17
rev = version;
12
12
-
sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk";
18
18
+
sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw";
13
19
};
14
20
15
21
buildInputs = [ bctoolbox belr ];
16
22
nativeBuildInputs = [ cmake ];
17
23
18
18
-
meta = with stdenv.lib;{
19
19
-
description = "Belcard is a C++ library to manipulate VCard standard format";
20
20
-
homepage = https://github.com/BelledonneCommunications/belcard;
24
24
+
# Do not build static libraries
25
25
+
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
26
26
+
27
27
+
meta = with stdenv.lib; {
28
28
+
description = "C++ library to manipulate VCard standard format";
29
29
+
homepage = "https://gitlab.linphone.org/BC/public/belcard";
21
30
license = licenses.lgpl21;
22
31
platforms = platforms.all;
32
32
+
maintainers = with maintainers; [ jluttine ];
23
33
};
24
34
}