35 lines
770 B
Nix
35 lines
770 B
Nix
{ bctoolbox
|
|
, belr
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "belcard";
|
|
version = "4.4.13";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "16x2xp8d0a115132zhy1kpxkyj86ia7vrsnpjdg78fnbvmvysc8m";
|
|
};
|
|
|
|
buildInputs = [ bctoolbox belr ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
# 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";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|