nixpkgs/pkgs/development/libraries/belcard/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
864 B
Nix
Raw Normal View History

2020-03-20 14:59:59 +00:00
{ bctoolbox
, belr
, cmake
, fetchFromGitLab
, lib
, stdenv
2020-03-20 14:59:59 +00:00
}:
2018-02-10 05:22:38 +00:00
stdenv.mkDerivation rec {
2020-03-20 14:59:59 +00:00
pname = "belcard";
2023-01-19 22:49:30 +00:00
version = "5.2.12";
2018-02-10 05:22:38 +00:00
2020-03-20 14:59:59 +00:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-08 23:38:31 +00:00
rev = version;
2023-01-19 22:49:30 +00:00
sha256 = "sha256-Q5FJ1Nh61woyXN7BVTZGNGXOVhcZXakLWcxaavPpgeY=";
2018-02-10 05:22:38 +00:00
};
buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DENABLE_STATIC=NO" # Do not build static libraries
"-DENABLE_UNIT_TESTS=NO" # Do not build test executables
];
2020-03-20 14:59:59 +00:00
meta = with lib; {
description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";
2020-03-20 14:59:59 +00:00
homepage = "https://gitlab.linphone.org/BC/public/belcard";
license = licenses.gpl3Plus;
2018-02-10 05:22:38 +00:00
platforms = platforms.all;
2020-03-20 14:59:59 +00:00
maintainers = with maintainers; [ jluttine ];
2018-02-10 05:22:38 +00:00
};
}