summary refs log tree commit diff
path: root/pkgs/development/libraries/belcard/default.nix
blob: aa6cb8513ae4c20bb0f2b70b51759d2cf605a9a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }:

stdenv.mkDerivation rec {
  baseName = "belcard";
  version = "1.0.2";
  name = "${baseName}-${version}";

  src = fetchFromGitHub {
    owner = "BelledonneCommunications";
    repo = baseName;
    rev = version;
    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;
  };
}