2020-04-24 23:36:52 +00:00
|
|
|
{ bctoolbox
|
|
|
|
, belr
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
2022-04-27 09:35:20 +00:00
|
|
|
, lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "belcard";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "5.2.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-Q5FJ1Nh61woyXN7BVTZGNGXOVhcZXakLWcxaavPpgeY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox belr ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_STATIC=NO" # Do not build static libraries
|
|
|
|
"-DENABLE_UNIT_TESTS=NO" # Do not build test executables
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2022-04-27 09:35:20 +00:00
|
|
|
description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gitlab.linphone.org/BC/public/belcard";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|