nixpkgs/pkgs/development/libraries/belcard/default.nix
2021-04-29 00:05:44 -04:00

35 lines
766 B
Nix

{ bctoolbox
, belr
, cmake
, fetchFromGitLab
, lib, stdenv
}:
stdenv.mkDerivation rec {
pname = "belcard";
version = "4.5.3";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
sha256 = "sha256-+7vqTbg1QergWPx2LQ2wkVehOma6Ix02IfwnJTJ/E5I=";
};
buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
meta = with 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 ];
};
}