mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
fe8f77c2c0
A lot of bloat had been accumulated through updates (e.g. with linphone migrating from Gtk to Qt, or linphone being split to liblinphone & linphone-desktop). Method: Through trial and error. Delete all dependencies, try to build, try to run, reintroduce missing dependencies. I have tested everything I could, but it is possible that some optional features have been silently disabled with dependencies not being found now. (Codecs, encryption schemes, etc...)
38 lines
864 B
Nix
38 lines
864 B
Nix
{ bctoolbox
|
|
, belr
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, lib
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "belcard";
|
|
version = "5.1.12";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-ZxO0Y4R04T+3K+08fEJ9krWfYSodQLrjBZYbGrKOrXI=";
|
|
};
|
|
|
|
buildInputs = [ bctoolbox belr ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [
|
|
"-DENABLE_STATIC=NO" # Do not build static libraries
|
|
"-DENABLE_UNIT_TESTS=NO" # Do not build test executables
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";
|
|
homepage = "https://gitlab.linphone.org/BC/public/belcard";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|