belle-sip: fix meta.homepage
+ use pname/version + polarssl -> mbedtls + no need for configure flag to find mbedtls
This commit is contained in:
parent
fca07bfdb7
commit
4b94f4bf36
|
@ -1,15 +1,14 @@
|
||||||
{ stdenv, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
|
{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
|
||||||
, cmake, zlib, bctoolbox
|
, cmake, zlib, bctoolbox
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "belle-sip";
|
pname = "belle-sip";
|
||||||
version = "1.6.3";
|
version = "1.6.3";
|
||||||
name = "${baseName}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BelledonneCommunications";
|
owner = "BelledonneCommunications";
|
||||||
repo = baseName;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
|
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
|
||||||
};
|
};
|
||||||
|
@ -24,18 +23,14 @@ stdenv.mkDerivation rec {
|
||||||
"-Wno-error=cast-function-type"
|
"-Wno-error=cast-function-type"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
|
propagatedBuildInputs = [ antlr3_4 libantlr3c mbedtls bctoolbox ];
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--with-polarssl=${polarssl}"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Fails to build with lots of parallel jobs
|
# Fails to build with lots of parallel jobs
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.linphone.org/index.php/eng;
|
homepage = https://linphone.org/technical-corner/belle-sip;
|
||||||
description = "A Voice-over-IP phone";
|
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue