2020-03-20 14:59:59 +00:00
|
|
|
{ bctoolbox
|
|
|
|
, belr
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
|
|
|
, stdenv
|
|
|
|
}:
|
2018-02-10 05:22:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-20 14:59:59 +00:00
|
|
|
pname = "belcard";
|
2021-01-19 04:34:30 +00:00
|
|
|
version = "4.4.24";
|
2018-02-10 05:22:38 +00:00
|
|
|
|
2020-03-20 14:59:59 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
|
|
|
repo = pname;
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2021-01-19 04:34:30 +00:00
|
|
|
sha256 = "sha256-FTHtd93LOnRek9fqvI+KBkk/+53Bwy9GKCEo0NDtops=";
|
2018-02-10 05:22:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox belr ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-03-20 14:59:59 +00:00
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ library to manipulate VCard standard format";
|
|
|
|
homepage = "https://gitlab.linphone.org/BC/public/belcard";
|
2020-12-28 16:32:54 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-02-10 05:22:38 +00:00
|
|
|
platforms = platforms.all;
|
2020-03-20 14:59:59 +00:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2018-02-10 05:22:38 +00:00
|
|
|
};
|
|
|
|
}
|