summary refs log tree commit diff
path: root/pkgs/development/libraries/belle-sip
diff options
context:
space:
mode:
authorJaakko Luttinen <jaakko.luttinen@iki.fi>2020-03-20 17:00:26 +0200
committerJaakko Luttinen <jaakko.luttinen@iki.fi>2020-03-28 11:25:29 +0200
commit810dac320afa3fa629d2abe8a5ef04683abd476a (patch)
tree987ca57c784dce3efcb079c59d34a29f42bb78af /pkgs/development/libraries/belle-sip
parent1e9f7710554fdb59b334f03608160c749fd90fa6 (diff)
downloadnixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar.gz
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar.bz2
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar.lz
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar.xz
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.tar.zst
nixpkgs-810dac320afa3fa629d2abe8a5ef04683abd476a.zip
belle-sip: 1.6.3 -> unstable-2020-02-18
Diffstat (limited to 'pkgs/development/libraries/belle-sip')
-rw-r--r--pkgs/development/libraries/belle-sip/default.nix35
1 files changed, 25 insertions, 10 deletions
diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix
index 0d3df37d8e0..a935372656e 100644
--- a/pkgs/development/libraries/belle-sip/default.nix
+++ b/pkgs/development/libraries/belle-sip/default.nix
@@ -1,22 +1,36 @@
-{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
-  , cmake, zlib, bctoolbox
+{ antlr3_4
+, bctoolbox
+, cmake
+, fetchFromGitLab
+, jre
+, libantlr3c
+, mbedtls
+, stdenv
+, zlib
 }:
 
 stdenv.mkDerivation rec {
   pname = "belle-sip";
-  version = "1.6.3";
-
-  src = fetchFromGitHub {
-    owner = "BelledonneCommunications";
+  # Using master branch for linphone-desktop caused a chain reaction that many
+  # of its dependencies needed to use master branch too.
+  version = "unstable-2020-02-18";
+
+  src = fetchFromGitLab {
+    domain = "gitlab.linphone.org";
+    owner = "public";
+    group = "BC";
     repo = pname;
-    rev = version;
-    sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
+    rev = "0dcb13416eae87edf140771b886aedaf6be8cf60";
+    sha256 = "0pzxk8mkkg6zsnmj1bwggbdjv864psx89gglfm51h8s501kg11fv";
   };
 
   nativeBuildInputs = [ jre cmake ];
 
   buildInputs = [ zlib ];
 
+  # Do not build static libraries
+  cmakeFlags = [ "-DENABLE_STATIC=NO" ];
+
   NIX_CFLAGS_COMPILE = toString [
     "-Wno-error=deprecated-declarations"
     "-Wno-error=format-truncation"
@@ -29,9 +43,10 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = false;
 
   meta = with stdenv.lib; {
-    homepage = https://linphone.org/technical-corner/belle-sip;
+    homepage = "https://linphone.org/technical-corner/belle-sip";
     description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
-    license = licenses.gpl2;
+    license = licenses.gpl3;
     platforms = platforms.all;
+    maintainers = with maintainers; [ jluttine ];
   };
 }