Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 bctoolbox,
3 belr,
4 cmake,
5 fetchFromGitLab,
6 lib,
7 stdenv,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "belcard";
12 version = "5.2.98";
13
14 src = fetchFromGitLab {
15 domain = "gitlab.linphone.org";
16 owner = "public";
17 group = "BC";
18 repo = "belcard";
19 rev = version;
20 sha256 = "sha256-pRNJ1bDS2v0Cn+6cxMeFa0JQ27UZR6kCI9P6gQ5W2GA=";
21 };
22
23 buildInputs = [
24 bctoolbox
25 belr
26 ];
27 nativeBuildInputs = [ cmake ];
28
29 cmakeFlags = [
30 "-DENABLE_STATIC=NO" # Do not build static libraries
31 "-DENABLE_UNIT_TESTS=NO" # Do not build test executables
32 ];
33
34 meta = with lib; {
35 description = "C++ library to manipulate VCard standard format. Part of the Linphone project";
36 homepage = "https://gitlab.linphone.org/BC/public/belcard";
37 license = licenses.gpl3Plus;
38 platforms = platforms.all;
39 maintainers = with maintainers; [ jluttine ];
40 };
41}