47 stdenv.mkDerivation rec {
48 pname = "liblinphone";
51 src = fetchFromGitLab {
52 domain = "gitlab.linphone.org";
57 sha256 = "05ybbxq2yqzy3f3vzq8c3szs3qr0zl64la53icpqnmfakwnps5gs";
60 # Do not build static libraries
61 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
63 # TODO: Not sure if all these inputs are actually needed. Most of them were
64 # defined when liblinphone and linphone-desktop weren't separated yet, so some
65 # of them might not be needed for liblinphone alone.
67 (python3.withPackages (ps: [ ps.pystache ps.six ]))
104 nativeBuildInputs = [
116 # Some grammar files needed to be copied too from some dependencies. I suppose
117 # if one define a dependency in such a way that its share directory is found,
118 # then this copying would be unnecessary. Instead of actually copying these
119 # files, create a symlink.
121 mkdir -p $out/share/belr/grammars
122 ln -s ${belcard}/share/belr/grammars/* $out/share/belr/grammars/
126 homepage = "https://www.linphone.org/technical-corner/liblinphone";
127 description = "Library for SIP calls and instant messaging";
128 license = licenses.gpl3Plus;
129 platforms = platforms.linux;
130 maintainers = with maintainers; [ jluttine ];