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

35 lines
767 B
Nix
Raw Normal View History

2020-03-20 15:59:59 +01:00
{ bctoolbox
, belr
, cmake
, fetchFromGitLab
, stdenv
}:
2018-02-10 06:22:38 +01:00
stdenv.mkDerivation rec {
2020-03-20 15:59:59 +01:00
pname = "belcard";
version = "4.3.1";
2018-02-10 06:22:38 +01:00
2020-03-20 15:59:59 +01:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-09 01:38:31 +02:00
rev = version;
2020-03-20 15:59:59 +01:00
sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw";
2018-02-10 06:22:38 +01:00
};
buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ];
2020-03-20 15:59:59 +01: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";
2018-02-10 06:22:38 +01:00
license = licenses.lgpl21;
platforms = platforms.all;
2020-03-20 15:59:59 +01:00
maintainers = with maintainers; [ jluttine ];
2018-02-10 06:22:38 +01:00
};
}