mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
25 lines
678 B
Nix
25 lines
678 B
Nix
|
{ stdenv, fetchurl, 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;
|
||
|
};
|
||
|
}
|