belcard: 1.0.2 -> 4.3.1

This commit is contained in:
Jaakko Luttinen 2020-03-20 16:59:59 +02:00
parent dcf2f1186a
commit 187ae7c30e
No known key found for this signature in database
GPG Key ID: 7B1CE13152E6B964

View File

@ -1,24 +1,34 @@
{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }: { bctoolbox
, belr
, cmake
, fetchFromGitLab
, stdenv
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
baseName = "belcard"; pname = "belcard";
version = "1.0.2"; version = "4.3.1";
name = "${baseName}-${version}";
src = fetchFromGitHub { src = fetchFromGitLab {
owner = "BelledonneCommunications"; domain = "gitlab.linphone.org";
repo = baseName; owner = "public";
group = "BC";
repo = pname;
rev = version; rev = version;
sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk"; sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw";
}; };
buildInputs = [ bctoolbox belr ]; buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Belcard is a C++ library to manipulate VCard standard format"; description = "C++ library to manipulate VCard standard format";
homepage = https://github.com/BelledonneCommunications/belcard; homepage = "https://gitlab.linphone.org/BC/public/belcard";
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
}; };
} }