mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
35 lines
766 B
Nix
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 ];
|
|
};
|
|
}
|