lol
1{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }:
2
3stdenv.mkDerivation rec {
4 baseName = "belcard";
5 version = "1.0.2";
6 name = "${baseName}-${version}";
7
8 src = fetchFromGitHub {
9 owner = "BelledonneCommunications";
10 repo = "${baseName}";
11 rev = "${version}";
12 sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk";
13 };
14
15 buildInputs = [ bctoolbox belr ];
16 nativeBuildInputs = [ cmake ];
17
18 meta = with stdenv.lib;{
19 description = "Belcard is a C++ library to manipulate VCard standard format";
20 homepage = https://github.com/BelledonneCommunications/belcard;
21 license = licenses.lgpl21;
22 platforms = platforms.all;
23 };
24}