Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 48 lines 965 B view raw
1{ bctoolbox 2, belle-sip 3, cmake 4, fetchFromGitLab 5, lib 6, bc-soci 7, sqlite 8, stdenv 9}: 10 11stdenv.mkDerivation rec { 12 pname = "lime"; 13 version = "5.2.98"; 14 15 src = fetchFromGitLab { 16 domain = "gitlab.linphone.org"; 17 owner = "public"; 18 group = "BC"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-LdwXBJpwSA/PoCXL+c1pcX1V2Fq/eR6nNmwBKDM1Vr8="; 22 }; 23 24 buildInputs = [ 25 # Made by BC 26 bctoolbox 27 belle-sip 28 29 # Vendored by BC 30 bc-soci 31 32 sqlite 33 ]; 34 nativeBuildInputs = [ cmake ]; 35 36 cmakeFlags = [ 37 "-DENABLE_STATIC=NO" # Do not build static libraries 38 "-DENABLE_UNIT_TESTS=NO" # Do not build test executables 39 ]; 40 41 meta = with lib; { 42 description = "End-to-end encryption library for instant messaging. Part of the Linphone project"; 43 homepage = "https://www.linphone.org/technical-corner/lime"; 44 license = licenses.gpl3Only; 45 platforms = platforms.all; 46 maintainers = with maintainers; [ jluttine ]; 47 }; 48}