2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }:
|
2018-02-10 05:22:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "belcard";
|
|
|
|
version = "1.0.2";
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
2019-09-09 00:38:31 +01:00
|
|
|
repo = baseName;
|
|
|
|
rev = version;
|
2018-02-10 05:22:38 +00:00
|
|
|
sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox belr ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib;{
|
|
|
|
description = "Belcard is a C++ library to manipulate VCard standard format";
|
|
|
|
homepage = https://github.com/BelledonneCommunications/belcard;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|