summary refs log tree commit diff
path: root/pkgs/development/libraries/belle-sip
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2019-11-23 18:09:56 +0100
committerc0bw3b <c0bw3b@users.noreply.github.com>2019-11-23 18:15:30 +0100
commit4b94f4bf3649cfd522fe19a010f47effb5c9a1c8 (patch)
treedde5537eec6ac9858c13c2ed81df6bc092d2d1e5 /pkgs/development/libraries/belle-sip
parentfca07bfdb7ace617db8dfca9c1c78b66beef2c9b (diff)
downloadnixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar.gz
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar.bz2
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar.lz
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar.xz
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.tar.zst
nixpkgs-4b94f4bf3649cfd522fe19a010f47effb5c9a1c8.zip
belle-sip: fix meta.homepage
+ use pname/version
+ polarssl -> mbedtls
+ no need for configure flag to find mbedtls
Diffstat (limited to 'pkgs/development/libraries/belle-sip')
-rw-r--r--pkgs/development/libraries/belle-sip/default.nix17
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix
index d4420e40ab6..1745614f741 100644
--- a/pkgs/development/libraries/belle-sip/default.nix
+++ b/pkgs/development/libraries/belle-sip/default.nix
@@ -1,15 +1,14 @@
-{ stdenv, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
+{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
   , cmake, zlib, bctoolbox
 }:
 
 stdenv.mkDerivation rec {
-  baseName = "belle-sip";
+  pname = "belle-sip";
   version = "1.6.3";
-  name = "${baseName}-${version}";
 
   src = fetchFromGitHub {
     owner = "BelledonneCommunications";
-    repo = baseName;
+    repo = pname;
     rev = version;
     sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
   };
@@ -24,18 +23,14 @@ stdenv.mkDerivation rec {
     "-Wno-error=cast-function-type"
   ];
 
-  propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
-
-  configureFlags = [
-    "--with-polarssl=${polarssl}"
-  ];
+  propagatedBuildInputs = [ antlr3_4 libantlr3c mbedtls bctoolbox ];
 
   # Fails to build with lots of parallel jobs
   enableParallelBuilding = false;
 
   meta = with stdenv.lib; {
-    homepage = http://www.linphone.org/index.php/eng;
-    description = "A Voice-over-IP phone";
+    homepage = https://linphone.org/technical-corner/belle-sip;
+    description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
     license = licenses.gpl2;
     platforms = platforms.all;
   };