aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/lime
diff options
context:
space:
mode:
authorJaakko Luttinen <jaakko.luttinen@iki.fi>2020-03-20 16:28:42 +0200
committerJaakko Luttinen <jaakko.luttinen@iki.fi>2020-03-28 11:25:30 +0200
commitdcf2f1186aa78e2381ac70cc89f1d490577c9f6c (patch)
treedf24512820f2246d006e88a300963cc3eaae6ef1 /pkgs/development/libraries/lime
parent810dac320afa3fa629d2abe8a5ef04683abd476a (diff)
lime: init at 4.3.1
Diffstat (limited to 'pkgs/development/libraries/lime')
-rw-r--r--pkgs/development/libraries/lime/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/lime/default.nix b/pkgs/development/libraries/lime/default.nix
new file mode 100644
index 000000000000..3ebcc7ad78a6
--- /dev/null
+++ b/pkgs/development/libraries/lime/default.nix
@@ -0,0 +1,36 @@
+{ bctoolbox
+, belle-sip
+, cmake
+, fetchFromGitLab
+, soci
+, sqlite
+, stdenv
+}:
+
+stdenv.mkDerivation rec {
+ pname = "lime";
+ version = "4.3.1";
+
+ src = fetchFromGitLab {
+ domain = "gitlab.linphone.org";
+ owner = "public";
+ group = "BC";
+ repo = pname;
+ rev = version;
+ sha256 = "1ilpp9ai4sah23ngnxisvmwhrv5jkk5f831yp7smpl225z5nv83g";
+ };
+
+ buildInputs = [ bctoolbox soci belle-sip sqlite ];
+ nativeBuildInputs = [ cmake ];
+
+ # Do not build static libraries
+ cmakeFlags = [ "-DENABLE_STATIC=NO" ];
+
+ meta = with stdenv.lib; {
+ description = "End-to-end encryption library for instant messaging";
+ homepage = "http://www.linphone.org/technical-corner/lime";
+ license = licenses.gpl3;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ jluttine ];
+ };
+}