yate: update from 2.2.0 to 5.4.2

This commit is contained in:
Pascal Wittmann 2015-04-15 10:54:12 +02:00
parent 3fa9fe1dd1
commit 94d177fc5e

View file

@ -1,13 +1,12 @@
{ composableDerivation, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }: { stdenv, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
let inherit (composableDerivation) edf wwf; in stdenv.mkDerivation rec {
name = "yate-${version}";
composableDerivation.composableDerivation {} ( fixed : { version = "5.4.2-1";
name = "yate-2.2.0_1";
src = fetchurl { src = fetchurl {
url = http://yate.null.ro/tarballs/yate2/yate2.tar.gz; url = "http://voip.null.ro/tarballs/yate5/${name}.tar.gz";
sha256 = "1z1rvzcw6449cvczig1dkh6rlp6f8zv649sk0ldz38mwkyd07257"; sha256 = "08gwz0gipc5v75jv46p2yg8hg31xjp6x7jssd0rrgsa3szi5697n";
}; };
# TODO zaptel ? postgres ? # TODO zaptel ? postgres ?
@ -17,7 +16,7 @@ composableDerivation.composableDerivation {} ( fixed : {
preConfigure = preConfigure =
'' ''
sed -i 's@,/dev/null@@' configure sed -i 's@,/dev/null@@' configure
''; '';
# --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why? # --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
preBuild = preBuild =
@ -28,12 +27,14 @@ composableDerivation.composableDerivation {} ( fixed : {
-e 's@-Wl,--retain-symbols-file@@' -e 's@-Wl,--retain-symbols-file@@'
''; '';
meta = { meta = {
description = "YATE - Yet Another Telephony Engine"; description = "Yet another telephony engine";
homepage = http://yate.null.ro/; homepage = http://yate.null.ro/;
license = ["GPL" "MPL"]; # Yate's license is GPL with an exception for linking with OpenH323 and PWlib (licensed under MPL). # Yate's license is GPL with an exception for linking with
# OpenH323 and PWlib (licensed under MPL).
license = ["GPL" "MPL"];
maintainers = [ lib.maintainers.marcweber ]; maintainers = [ lib.maintainers.marcweber ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} ) }