nixpkgs/pkgs/development/libraries/belcard/default.nix

35 lines
766 B
Nix
Raw Permalink Normal View History

2020-03-20 07:59:59 -07:00
{ bctoolbox
, belr
, cmake
, fetchFromGitLab
, lib, stdenv
2020-03-20 07:59:59 -07:00
}:
2018-02-09 21:22:38 -08:00
stdenv.mkDerivation rec {
2020-03-20 07:59:59 -07:00
pname = "belcard";
2021-04-28 17:55:16 -07:00
version = "4.5.3";
2018-02-09 21:22:38 -08:00
2020-03-20 07:59:59 -07:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-08 16:38:31 -07:00
rev = version;
2021-04-28 17:55:16 -07:00
sha256 = "sha256-+7vqTbg1QergWPx2LQ2wkVehOma6Ix02IfwnJTJ/E5I=";
2018-02-09 21:22:38 -08:00
};
buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ];
2020-03-20 07:59:59 -07:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
meta = with lib; {
2020-03-20 07:59:59 -07:00
description = "C++ library to manipulate VCard standard format";
homepage = "https://gitlab.linphone.org/BC/public/belcard";
license = licenses.gpl3Plus;
2018-02-09 21:22:38 -08:00
platforms = platforms.all;
2020-03-20 07:59:59 -07:00
maintainers = with maintainers; [ jluttine ];
2018-02-09 21:22:38 -08:00
};
}